tjcsl / tin

Turn-In: A code autograder for CS classes
https://tin.tjhsst.edu
GNU General Public License v3.0
2 stars 6 forks source link

Adding tests to Tin #41

Open JasonGrace2282 opened 3 months ago

JasonGrace2282 commented 3 months ago

After #28 got merged, it's now possible to add backend tests to Tin.

Backend Apps Remaining

These are the apps that need to be covered by backend logic tests

Frontend Apps Remaining

Additionally, it's important to make sure buttons and stuff still appear where they should. These are the apps that need to be covered by frontend tests.

JasonGrace2282 commented 1 month ago

A framework for testing UI has not yet been satisfactorily implemented. The last approach involved parsing html elements into a flattened list, which was just not efficient. An HTML testing framework should ideally allow us to just has has_button().with_text().with_url() instead of looking for a <a href="..."></a>.