You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rhum is a testing framework built on top of Deno.test created by the team behind the Drash REST API framework. This is only necessary when we have more tests, so I am marking it as future for now.
@ijerhum allows us to more easily organize and compose our tests. Here is part of the example they give on the front page:
// 1. Define your test plan (usually the test file's name)// 2. Define your test suites (usually methods being tested)// 3. Define your test cases with assertionsRhum.testPlan("app_test.ts",()=>{Rhum.testSuite("run()",()=>{Rhum.testCase("Returns true",()=>{constresult=run();Rhum.asserts.assertEquals(true,result);});});Rhum.testSuite("close()",()=>{Rhum.testCase("Returns true",async()=>{constresult=awaitclose();Rhum.asserts.assertEquals(true,result);});});});
idk how much code we have but i think we have like 5k so i think it would be best to organize our tests like that.
Rhum is a testing framework built on top of
Deno.test
created by the team behind the Drash REST API framework. This is only necessary when we have more tests, so I am marking it as future for now.Refs:
The text was updated successfully, but these errors were encountered: