Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JDT UI/JUnit 5 Plan"
< JDT UI
Line 1: | Line 1: | ||
Must be fixed: <br/> | Must be fixed: <br/> | ||
− | * Re-running a test should use its unique id - DONE | + | * Re-running a test should use its unique id - DONE |
− | + | * Bug 502563 - APIs to get FQNs and type signatures of method parameter types - JDT Core - (Jay) - WONTFIX | |
− | * Bug 502563 - APIs to get FQNs and type signatures of method parameter types - JDT Core (Jay) | + | * Bug 521243 - Find workarounds in place of the above APIs - DONE |
− | * Find workarounds in place of the APIs | + | * Use the above APIs/workarounds in JDT UI at all relevant places and check if everything works - open action, xml serializer/parser may need special handling (bug 521243) - DONE |
− | * Use the above APIs/workarounds in JDT UI at all relevant places and check if everything works - open action, xml serializer/parser may need special handling | + | * Support arrays, parameterized types, type parameters as test parameters (bug 521243) - DONE |
− | * Support arrays, parameterized types, type parameters as test parameters. | + | * Bug 518163 - Add support for launching JUnit 5 plug-in tests - PDE - (Vikas) - DONE |
+ | * Bug 521841 - JUnit launch configuration should give error if JRE < 1.8 - DONE | ||
+ | * Bug 521464 - Re-running a test method shows its parameter types in non-readable form - DONE | ||
+ | -- | ||
+ | * Add provision to use @Tag filtering in Eclipse -- 1 week - IN PROGRESS | ||
+ | - Bug 521246 - Add provision to use @Tag filtering <br/> | ||
+ | - Bug 521854 - Provide UI to add tags to be included or excluded in test run - (Sarika) <br/> | ||
-- | -- | ||
* Check that JUnit compatibility is maintained in Eclipse (should be able to use old junit.runtime bundles with new junit.core/ui bundles) and fix issues, if any -- 1 day to check and more to fix if issues are found. | * Check that JUnit compatibility is maintained in Eclipse (should be able to use old junit.runtime bundles with new junit.core/ui bundles) and fix issues, if any -- 1 day to check and more to fix if issues are found. | ||
− | |||
* Go through release notes and fixed GitHub issues from JUnit 5 M5, M6, RC1, RC2, RC3 to identify issues/support required in Eclipse and fix them -- 2 days. | * Go through release notes and fixed GitHub issues from JUnit 5 M5, M6, RC1, RC2, RC3 to identify issues/support required in Eclipse and fix them -- 2 days. | ||
* Add test setup and test cases for JUnit 5 work -- 2 days. | * Add test setup and test cases for JUnit 5 work -- 2 days. | ||
* Support TestDescriptors with type container_and_test, currently we assume that a test descriptor can be either a test or a container -- 1 day. | * Support TestDescriptors with type container_and_test, currently we assume that a test descriptor can be either a test or a container -- 1 day. | ||
* Do proper testing (also with custom test engines) and fix bugs -- 2 days. | * Do proper testing (also with custom test engines) and fix bugs -- 2 days. | ||
− | + | ||
<br/> | <br/> | ||
− | Parallelly ongoing tasks (must be fixed): | + | Parallelly ongoing tasks (must be fixed): IN PROGRESS |
* Create Marketplace entry for JUnit 5 support | * Create Marketplace entry for JUnit 5 support | ||
* Uploading sources and getting CQs approved for JUnit 5 RC2, RC3 and GA | * Uploading sources and getting CQs approved for JUnit 5 RC2, RC3 and GA | ||
Line 22: | Line 27: | ||
* Updating prereqs file with JUnit 5 RC2, RC3 and GA JARs to include in U-builds | * Updating prereqs file with JUnit 5 RC2, RC3 and GA JARs to include in U-builds | ||
* Update jdtOptions.txt (bug 518185) | * Update jdtOptions.txt (bug 518185) | ||
− | * Merge BETA_JUNIT5 branch to master | + | * Merge BETA_JUNIT5 branch to master |
+ | * Merge BETA_JUNIT5 branch to R4_7 | ||
<br/> | <br/> | ||
Revision as of 07:48, 5 September 2017
Must be fixed:
- Re-running a test should use its unique id - DONE
- Bug 502563 - APIs to get FQNs and type signatures of method parameter types - JDT Core - (Jay) - WONTFIX
- Bug 521243 - Find workarounds in place of the above APIs - DONE
- Use the above APIs/workarounds in JDT UI at all relevant places and check if everything works - open action, xml serializer/parser may need special handling (bug 521243) - DONE
- Support arrays, parameterized types, type parameters as test parameters (bug 521243) - DONE
- Bug 518163 - Add support for launching JUnit 5 plug-in tests - PDE - (Vikas) - DONE
- Bug 521841 - JUnit launch configuration should give error if JRE < 1.8 - DONE
- Bug 521464 - Re-running a test method shows its parameter types in non-readable form - DONE
--
- Add provision to use @Tag filtering in Eclipse -- 1 week - IN PROGRESS
- Bug 521246 - Add provision to use @Tag filtering
- Bug 521854 - Provide UI to add tags to be included or excluded in test run - (Sarika)
--
- Check that JUnit compatibility is maintained in Eclipse (should be able to use old junit.runtime bundles with new junit.core/ui bundles) and fix issues, if any -- 1 day to check and more to fix if issues are found.
- Go through release notes and fixed GitHub issues from JUnit 5 M5, M6, RC1, RC2, RC3 to identify issues/support required in Eclipse and fix them -- 2 days.
- Add test setup and test cases for JUnit 5 work -- 2 days.
- Support TestDescriptors with type container_and_test, currently we assume that a test descriptor can be either a test or a container -- 1 day.
- Do proper testing (also with custom test engines) and fix bugs -- 2 days.
Parallelly ongoing tasks (must be fixed): IN PROGRESS
- Create Marketplace entry for JUnit 5 support
- Uploading sources and getting CQs approved for JUnit 5 RC2, RC3 and GA
- Adding JUnit 5 RC2, RC3 and GA JARs to Orbit and testing the bundles
- Updating prereqs file with JUnit 5 RC2, RC3 and GA JARs to include in U-builds
- Update jdtOptions.txt (bug 518185)
- Merge BETA_JUNIT5 branch to master
- Merge BETA_JUNIT5 branch to R4_7
Should be fixed:
- Support selectors and TestSources other than class and method - needs investigation first to check if this can be supported - ?
- Support for running JUnit 5 tests with JUnit 4 launcher - needs investigation to see if anything is required here - ?
Nice to have (out of scope for Oxygen.1a release):
- Provide quick assists to migrate from JUnit 4 to JUnit 5:
- To replace JUnit 4 @Test with JUnit 5 @Test
- To replace @Before, @After, @BeforeClass, @AfterClass with the corresponding new annotations
- To replace @Ignore with @Disable
- To remove 'public' access modifiers etc.
- Needs investigation for other possibilities