Skip to content

Commit

Permalink
Added how to run tests in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio-Oliveira-Encora committed Feb 23, 2024
1 parent 4a7f97e commit 48ebcd5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions diode-netbox-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,22 @@ PLUGINS_CONFIG = {
}
}
```

## Running Tests

a) Start the container in diode/diode-server:
```bash
make docker-compose-up
```

b) Enter in the Diode-Netbox container:

```bash
docker exec -it diode-netbox-1 /bin/bash
```

c) Execute the tests:
```bash
./manage.py test --keepdb netbox_diode_plugin.tests.test_object_state.ObjectStateListTestCase
```

0 comments on commit 48ebcd5

Please sign in to comment.