Ignore:
Timestamp:
2024-09-17T17:42:35+02:00 (15 months ago)
Author:
taylor.smock
Message:

Add JUnit5 tags to integration tests, functional tests, and performance tests

This should allow contributors to filter out integration tests inside the standard
test directory. Of specific note, this should reduce test runtime for contributors
by a non-trivial amount if contributors filter out the tagged tests.

For consistencies’ sake, tests in functional and performance were also
annotated. As such, if we ever merge the test directories, this will let us
filter which tests are run in CI.

Note that many functional tests don't have the annotation. This is because they
are manual tests.

Location:
trunk/test/performance/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/io/OsmReaderPerformanceTest.java

    r18853 r19223  
    1717import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer;
    1818import org.openstreetmap.josm.data.osm.DataSet;
     19import org.openstreetmap.josm.testutils.annotations.PerformanceTest;
    1920
    2021/**
     
    2526 * @author Michael Zangl
    2627 */
     28@PerformanceTest
    2729@Timeout(value = 15, unit = TimeUnit.MINUTES)
    2830class OsmReaderPerformanceTest {
  • trunk/test/performance/org/openstreetmap/josm/io/OsmWriterPerformanceTest.java

    r18853 r19223  
    1212import org.openstreetmap.josm.PerformanceTestUtils.PerformanceTestTimer;
    1313import org.openstreetmap.josm.data.osm.DataSet;
     14import org.openstreetmap.josm.testutils.annotations.PerformanceTest;
    1415
    1516/**
     
    1819 * For this, we use the neubrandenburg-file, which is a good real world example of an OSM file.
    1920 */
     21@PerformanceTest
    2022@Timeout(value = 15, unit = TimeUnit.MINUTES)
    2123class OsmWriterPerformanceTest {
Note: See TracChangeset for help on using the changeset viewer.