mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-14 02:36:57 +00:00
Restructured Test Suite
- separated tests into e2e and unit directories
- created configs directory structure to support test framework
- added/modified `npm run test`, `npm run test:unit` and `npm run test:e2e` to target all, unit and e2e tests respectively
- modified some of the test names to be more descriptive
New structure of the Test Suite has following directory tree:
```
tests
├── configs
│ ├── env.js
│ └── modules
│ ├── clock
│ │ ├── clock_12hr.js
│ │ ├── clock_24hr.js
│ │ └── clock_showPeriodUpper.js
│ └── helloworld
│ └── helloworld.js
├── e2e
│ ├── env_spec.js
│ └── modules
│ ├── clock_spec.js
│ └── helloworld_spec.js
└── unit
├── functions
│ └── cmp_versions_spec.js
└── global_vars
└── root_path_spec.js
```
This commit is contained in:
@@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Show the splash screen image even when is reboot or halted.
|
||||
- Added some missing translaton strings in the sv.json file.
|
||||
- Run task jsonlint to check translation files.
|
||||
- Restructured Test Suite
|
||||
|
||||
### Added
|
||||
- Calendar-specific support for `maximumEntries`, and ` maximumNumberOfDays`
|
||||
@@ -37,6 +38,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Add test e2e helloworld
|
||||
- Add test e2e enviroment
|
||||
- Add `chai-as-promised` npm module to devDependencies
|
||||
- Basic set of tests for clock module
|
||||
|
||||
### Fixed
|
||||
- Update .gitignore to not ignore default modules folder.
|
||||
|
||||
Reference in New Issue
Block a user