DEV Community

Discussion on: The Joy of Testing

Collapse
 
hugh_jeremy profile image
Hugh Jeremy

It's a bespoke solution built alongside the Amatino API... Nothing too flash but it gets the job done! At a very basic level it' just a sequence of objects that build on a simple base class:

class Test:
   did_pass: bool
   name: str

   def pass() -> None

   def fail() -> None

   def execute() -> None

   def report() -> str