I am writing QUnit tests for my JavaScript web app. After reading the QUnit API documentation I was unable to find any standards for labeling modules, tests, and asserts.
The API descriptions and examples are pretty rudimentary:
Module name: Label for this group of tests. Example:
module("group a");
Test title: Title of unit being tested. Example:
test("hello test", function(){});
Assert message: A short description of the assertion. Example:
ok(true, "true succeeds");
I found articles out there regarding Unit Tests at large: What are some popular naming conventions for Unit Tests? and Unit test naming best practices.
However, I was hoping there was an established/generally accepted standard that was specific to QUnit's Module->Test->Assert pattern. Are there any?