node js tests

This commit is contained in:
Tomas Juhasz 2025-01-03 11:33:05 +01:00
commit f1ee23f5fa
26 changed files with 935 additions and 2 deletions

View file

@ -1,3 +1,41 @@
# nodejs
# Node.JS Tests
Test suite for the nodejs on fedora
Nodejs test suite for Fedora Linux
These tests made for Test Management Tool, using .fmf format for metadata
[Tmt docs for reference](/https://tmt.readthedocs.io/en/stable/)
# Usage locally
Make sure you got tmt and its tools installed:
```bash
sudo dnf install -y tmt tmt+provision-virtual
```
or if you want all tools (virtual and container):
```bash
sudo dnf install -y tmt+all
```
check what test plans and sub plans are available:
```bash
tmt plans
```
check what individual tests are available:
```bash
tmt tests
```
## Run all available tests
```bash
tmt run
```
## Run chosen plan or individual test
```bash
tmt plans
tmt run plans -n <plan>
```
```bash
tmt tests
tmt run tests -n <test>
```