Running single JUnit tests in Eclipse
Creators
Unit testing is important when developing source code. JUnit provides a library to facilitate this in Java, and Eclipse had the functionality to run JUnit tests. Even better, it allows you to run single JUnit tests, even in debug mode:
Just open the java class in your Package Explorer, right click on the JUnit method you want to run, then pick Run As
or Debug As
,
and then JUnit test
.
Additional details
Description
Unit testing is important when developing source code. JUnit provides a library to facilitate this in Java, and Eclipse had the functionality to run JUnit tests. Even better, it allows you to run single JUnit tests, even in debug mode: Just open the java class in your Package Explorer, right click on the JUnit method you want to run, then pick Run As or Debug As, and then JUnit test.
Identifiers
- UUID
- 75e0b24c-c714-4b70-8ca4-bea908cfe61b
- GUID
- https://doi.org/10.59350/3htbd-qma24
- URL
- https://chem-bla-ics.linkedchemistry.info/2006/10/26/running-single-junit-tests-in-eclipse.html
Dates
- Issued
-
2006-10-26T02:00:00
- Updated
-
2024-08-12T02:00:00