ucsb-cs56-w20 / open-lab-scheduler

Display open lab hours for CS courses
1 stars 3 forks source link

Implement ArchUnit tests #159

Closed btk5h closed 4 years ago

btk5h commented 4 years ago

This PR adds a suite of ArchUnit tests that enforce a few basic structural patterns throughout the codebase. The currently implemented rules:

This PR does not attempt to fix any of the above issues (in particular, the last rule has 74 (?!) violations). In cases where existing code fails tests, these rules are "frozen" and existing violations are logged in a store. Violations in this store will not fail the build, only violations in future code will.