Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Outline

Description

This is the folder, where all the tests go.

Those are subdivided in two categories:

  • General
  • Function

General Tests

General tests are function generic and test for general policies.

These test scan answer questions such as:

  • Is my module following my style guides?
  • Does any of my scripts have a syntax error?
  • Do my scripts use commands I do not want them to use?
  • Do my commands follow best practices?
  • Do my commands have proper help?

Basically, these allow a general module health check.

These tests are already provided as part of the template.

Function Tests

A healthy module should provide unit and integration tests for the commands & components it ships. Only then can be guaranteed, that they will actually perform as promised.

However, as each such test must be specific to the function it tests, there cannot be much in the way of templates.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.