Skip to content

Add Tests: Netbox Inventory Plugin #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FragmentedPacket opened this issue Jan 11, 2020 · 4 comments
Closed

Add Tests: Netbox Inventory Plugin #56

FragmentedPacket opened this issue Jan 11, 2020 · 4 comments
Labels

Comments

@FragmentedPacket
Copy link
Contributor

ISSUE TYPE
  • Testing Update
SUMMARY

Need to build unit tests and possibly some integration testing for Netbox inventory plugin

@DouglasHeriot
Copy link
Contributor

I plan to have a look at this as part of my other work on the inventory plugin.

Going to look at structuring the integration tests in such a way we can use the ansible-test tool as we do for the unit tests.
https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html

@FragmentedPacket
Copy link
Contributor Author

@DouglasHeriot Let me know how that goes. Last time I checked it doesn't allow Docker compose which is the way we're building NetBox currently for integration testing. I wouldn't spend too much time on it if it becomes too much of a burden since we're already spinning up an instance for integration tests.

@FragmentedPacket FragmentedPacket added Enhancement help wanted Extra attention is needed labels Mar 31, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 2, 2020
I've specifically started with tests for netbox-community#140 new query_filters options and refresh_url
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 2, 2020
I've specifically started with tests for netbox-community#140 new query_filters options and refresh_url
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 2, 2020
I've specifically started with tests for netbox-community#140 new query_filters options and refresh_url
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 2, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 2, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 14, 2020
I've specifically started with tests for netbox-community#140 new query_filters options and refresh_url
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 14, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 14, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 16, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 17, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 17, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 17, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 17, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 21, 2020
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 21, 2020
…ta (netbox-community#56)

Also:
* Update .gitignore and galaxy.yml build_ignore with various development files to ignore.
* Added .editorconfig with indentation settings for .py and .yml files
DouglasHeriot added a commit to hillsong/ansible_modules that referenced this issue Apr 21, 2020
…ta (netbox-community#56)

Also:
* Update .gitignore and galaxy.yml build_ignore with various development files to ignore.
* Added .editorconfig with indentation settings for .py and .yml files
@DouglasHeriot
Copy link
Contributor

We can probably close this now, implemented by #155 ?
It's not at 100% code coverage, but it's pretty solid.

@FragmentedPacket
Copy link
Contributor Author

Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants