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

No Tests Found by ZeroCodeUnitRunner #576

Open
nagkumar opened this issue May 30, 2023 · 7 comments
Open

No Tests Found by ZeroCodeUnitRunner #576

nagkumar opened this issue May 30, 2023 · 7 comments
Assignees
Labels

Comments

@nagkumar
Copy link

image

this is my code.. i.e. I want junit suite to be run as load tests.. but gives no tests found, while if I use junit 5 launcher instead of ZeroCodeUnitRunner, it does test 188+ tests

image

@nagkumar
Copy link
Author

nagkumar commented May 30, 2023

Are @suite and SelectPackages respected by ZeroCodeUnitRunner??

Also using the annotation @RunWith(ZeroCodeUnitRunner.class) really needed as in JUnit 5 @RunWith is replaced with extendswith etc.. can use of @LoadWith annotation default pick up the zerocode respective runner

Can you pl. share your insights..

@authorjapps
Copy link
Owner

Hello @nagkumar ,

JUnit5:

JUnit4:

@nagkumar
Copy link
Author

nagkumar commented Jun 1, 2023

Tried looking at Junit5

image

it says @RunWith(JUnitPlatform.class), JUnitPlatform is no more valid instead @suite us used, can you pl. consider to fix the code, as when I tried to use @suite it still did not work..

Also, examples can be further simplified as Extension Annotation is different than running perftests of normal unit tests.. That way not using ExtendsWith can be better for others can easily understand,

@sawilkhan
Copy link

Can i work on it?

@nagkumar
Copy link
Author

nagkumar commented Jul 6, 2023

I was unable to adopt zerocode for performance testing of suite for now.. hence looking for some simple solution through zerocode.

@authorjapps
Copy link
Owner

authorjapps commented Jul 19, 2023

Can i work on it?

Hello @sawilkhan , yes please. Thanks for your interest. The following might help for the purpose of visibility.

Can you outline some points what changes you are going to make for this here?
Preferably in the following format please:
e.g.

Problem 1:
please explain the problem which the reporter is facing or you found from this ticket

Fix/Solution:
please explain the solution which will fix or help in resolving the problem


Problem 2:
please explain the problem which the reporter is facing or you found from this ticket

Fix/Solution:
please explain the solution which will fix or help in resolving the problem


Date:
17.AUG.2023:

@nagkumar , can you explain the problem step by step,

  1. what you were trying to do/run?
  2. how to reproduce the issue you are facing?
  3. what fix you are looking for?

@authorjapps
Copy link
Owner

this is my code.. i.e. I want junit suite to be run as load tests.. but gives no tests found, while if I use junit 5 launcher instead of ZeroCodeUnitRunner, it does test 188+ tests

@nagkumar ,

Can you try this helloworld-examples-try-at-home ?

and next, try-at-home-examples(load testing) ?

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

No branches or pull requests

3 participants