williamfiset / Algorithms

A collection of algorithms and data structures
MIT License
17.18k stars 4.34k forks source link

Reenable JUnit Platform #390

Closed syoon2 closed 1 year ago

syoon2 commented 1 year ago

Related: #381 (cause of regression)

This was a clear oversight from me - turns out that to use JUnit 5 with Gradle you must specify to use JUnit Platform for testing (see documentation). Omitting this made the code to regress since #381 and running ./gradlew test did not run any tests (more precisely, none of the test classes were picked up for testing).

This PR fixes this regression.