Skip to content

isthatcentered/dumb-test-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dumb test runner

(do not use in production, obviously)

This is a playground

Current syntax is:

verify( 5 ).returns( 5 )
verify( 5 ).returns( 2 ) // throws

verify( someObject ).is( someObject ) 
verify( someObject ).is( otherObject ) // throws

verify( () => {throw new Error()}).throws(  )
verify( () => null).throws(  ) // throws

Todos

  • Move to a data model instead of try/catch flow control
    • Test report it's status
    • Suite report it's status and it's tests)
  • New 🐒 syntax:
    • someVar.is(5)
    • (()=>null).return(10)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors