Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to run Percy using VsTest. #4591

Closed
aaronportier opened this issue Jul 6, 2023 · 6 comments
Closed

Is there a way to run Percy using VsTest. #4591

aaronportier opened this issue Jul 6, 2023 · 6 comments

Comments

@aaronportier
Copy link

Description

Percy requires you to use npx percy app:exec --dotnet test Test1/Test2/Test3

Steps to reproduce

Expected behavior

Actual behavior

Diagnostic logs

Environment

@nohwnd
Copy link
Member

nohwnd commented Jul 10, 2023

If you have a question, please add more detail of what you are trying to achieve, and what is not working.

@aaronportier
Copy link
Author

I am not sure where in VsTest I can put any of this code for Percy to run while the tests are running. Percy requires you to use npx percy app:exec --dotnet test Test1/Test2/Test3 Does VsTest allow me to call this somewhere in the VsTest Runner? I like VsTest especially the re running of failed tests.

@Evangelink
Copy link
Member

@aaronportier You will need to be more specific. For example what is Percy? Can you provide some example of how to use it? Can you provide a simple failing demo for us to take a look at?

@aaronportier
Copy link
Author

@Evangelink I am unsure of how to use it in VsTest. Percy uses the tests to take Screenshots and then looks at new screenshots to ensure the older Screenshots look the same and nothing has changed in the App. I can run the command line above from Visual Studio but I want to understand how to run Percy in VsTest Assemblies Test runner. I have the test runner in an Azure Pipeline.

@Evangelink
Copy link
Member

We have no experience of testing with Percy and don't have enough requests to invest looking into this tool.

I fear that if you cannot provide specific question and reproducer we won't be able to help you much for now.

@aaronportier
Copy link
Author

aaronportier commented Jul 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants