Skip to content
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

Extend the test script plugin #130

Open
PatrickGrub opened this issue May 20, 2020 · 1 comment
Open

Extend the test script plugin #130

PatrickGrub opened this issue May 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@PatrickGrub
Copy link
Collaborator

The current test script for the plugin included samples for

  • Material
    • Read one material by the keys
    • Read all materials
    • Create new material with string properties
    • Update existing material with description (string property)
  • Bom
    • Read one Bom by the keys and expand bomRows
    • Create new BOM with one bomrow
  • Documents
    • Create new Document with metadata and upload binary file
    • Read Document by the keys
    • Download Document binary by the keys

Extend with tests

In the projects we tackle often some issues when new versions of the ERP API is released.
In order to verify fast that the old functionality still works it helps dramatically to execute automatic tests without depending on Inventor/Vault workflows.

You can find a very good example of Pester tests that are ready to execute and test all the ERP API functionality that we require during a standard project here..

This includes also:

  • Read materials with filter
  • Add to existing boms a new row
  • Remove from existing boms an existing row
  • Adding same bom again -> test error handling
  • Update bom header
  • Update bom row
  • Reporting of the performance of API calls to ensure that we know when the API gets slower, in this way can communicate to the customer that it does not depend on our side but on the ERP side.
  • Here are missing documents tests
  • The goal of the new test script is to test all AP functionality what we require on the client-side
@PatrickGrub
Copy link
Collaborator Author

@georgschwienbacher Estimation 4 hours

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

No branches or pull requests

1 participant