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

Support for Java- TestNG and JUnit #5

Open
angelovstanton opened this issue Aug 17, 2018 · 0 comments
Open

Support for Java- TestNG and JUnit #5

angelovstanton opened this issue Aug 17, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@angelovstanton
Copy link
Member

angelovstanton commented Aug 17, 2018

Since the creation of the tool, there were tons of requests to create support for Java projects.

Since I am not a Java developer, I will need some help with the Java specifics. I will code everything related to the Meissa plugins.
Before I can define what help I will need, let's me first give a short explanation of how Meissa run tests written in different technologies.

The tool is architectured in a way to use plugins (DLLs placed in the Plugins folder), we utilise the MEF framework for the job. We have two C# interfaces that the plugin project should implement. One for extracting the tests from the library files (DLLs, jars, js) and one more for executing the tests from CMD, parsing the test results files, merge the results, extract pass/failed tests (we use that for the retry logic).

So, as far as I know, there are two major test frameworks for Java- TestNG and JUnit. I want to support both. Are there any other major ones that I didn't mention?

I guess we will need two separate plugins for TestNG and JUnit.
What will I need for each technology?

  1. Test project with few classes and tests inside them
  2. Explanation what I will need to install on my machine to run tests
  3. Example how to run the tests from the command line
  4. Explanation how to filter tests from CMD (we need that to execute only the failed tests for the retry and also to execute a subset of tests on each test agent)
  5. Explanation how to specify the name and location of the test result files
  6. Not sure how but maybe we will need separate Java console app that extracts- test names, test classes and save them to a file (later we can read this file in C# and do the rest from there)
@angelovstanton angelovstanton added the enhancement New feature or request label Aug 17, 2018
@angelovstanton angelovstanton self-assigned this Aug 17, 2018
@angelovstanton angelovstanton added help wanted Extra attention is needed question Further information is requested labels Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant