Skip to content

Commit

Permalink
Merge pull request #47 from saltstack-formulas/revert-40-test-harness
Browse files Browse the repository at this point in the history
Revert "implement test harness"
  • Loading branch information
myii authored Oct 23, 2019
2 parents 915d9e1 + f12ebcb commit 9b6fd99
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 247 deletions.
10 changes: 0 additions & 10 deletions .gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

80 changes: 0 additions & 80 deletions Makefile

This file was deleted.

46 changes: 1 addition & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,54 +41,10 @@ The checksum for the *node-v…-linux-x64.tar.gz* file has to be provided.
When building from sources, only newer node versions with npm included are supported (Versions 0.9.x and newer should
be safe). Also, the executable will be called `node`.

If you need to install older versions, where the executable is called `nodejs`, use
If you need to install older versions, where the executable is called `nodejs`, use
[previous commits](https://github.com/saltstack-formulas/node-formula/commit/bcc649588c162686c4dbde486da840ccd060edf6)
of this formula.

## Installing from packages

See the [example pillar file](https://github.com/saltstack-formulas/node-formula/blob/master/pillar.example).


## <a name='testing'></a> Running Tests

This test runner was implemented using the [formula-test-harness](https://github.com/intuitivetechnologygroup/formula-test-harness) project.


Tests will be run on the following base images:

* `simplyadrian/allsalt:centos_master_2017.7.2`
* `simplyadrian/allsalt:debian_master_2017.7.2`
* `simplyadrian/allsalt:opensuse_master_2017.7.2`
* `simplyadrian/allsalt:ubuntu_master_2016.11.3`
* `simplyadrian/allsalt:ubuntu_master_2017.7.2`

##### Start a virtualenv

```bash
pip install -U virtualenv
virtualenv .venv
source .venv/bin/activate
```

##### Install local requirements

```bash
make setup
```

##### Run tests

* `make test-centos_master_2017.7.2`
* `make test-debian_master_2017.7.2`
* `make test-opensuse_master_2017.7.2`
* `make test-ubuntu_master_2016.11.3`
* `make test-ubuntu_master_2017.7.2`

### <a name='run-containers'></a> Run Containers

* `make local-centos_master_2017.7.2`
* `make local-debian_master_2017.7.2`
* `make local-opensuse_master_2017.7.2`
* `make local-ubuntu_master_2016.11.3`
* `make local-ubuntu_master_2017.7.2`
Empty file.
23 changes: 0 additions & 23 deletions tests/pytests/apply-all-tests/test_000_apply_state.py

This file was deleted.

3 changes: 0 additions & 3 deletions tests/srv/salt/top.sls

This file was deleted.

27 changes: 0 additions & 27 deletions tools/filltmpl.py

This file was deleted.

21 changes: 0 additions & 21 deletions tools/run-tests.sh

This file was deleted.

14 changes: 0 additions & 14 deletions tools/templates/Dockerfile.j2

This file was deleted.

0 comments on commit 9b6fd99

Please sign in to comment.