Determine how you'll manage development to build, test, and deploy ThingWorx Navigate. Then document a testing plan.
Before you begin, complete these steps:
Before you write any code for a custom app, determine your development processes, specifically source control. Source control refers to how you will track and manage versions of code. A method for source control will speed up deployment, minimize mistakes, and help you resolve conflicts in the code. Your company may already have defined DevOps tools and processes. If not, you’ll need to define your own. There are tools available to help.
For code management, you can use widely available tools like Git or Subversion (SVN). You can export and deploy code that you develop in ThingWorx Navigate using standard ThingWorx Export/Import functionality. For Windchill REST Services, manage the extensions similar to how you manage regular Windchill customizations. You can deploy them using build automation tools like Ant, Maven or Gradle.
We recommend that the developers only write code in the dev environments (not QA, test, staging, or prod) for ThingWorx Navigate and Windchill instances. For example, if you need to customize Windchill REST Services, only write code in the separate Windchill dev environment. This will prevent confusion and inaccurate test results later.
As you decide how to best track and manage code, consider the following:
Share key decisions with the project team, specifically with the developers, IT team, and admins.
Recommended Resources
You'll need a testing plan whether you implement out-of-the-box (OOTB) apps or create a custom app. The project manager, developers, admin, IT, and key power users who will be involved in user acceptance testing should work together on a testing plan. Decide what tests to run based on your requirements, app user interface (UI), and technical design document.
In general, we recommend the following:
Document a testing plan including what tests you’ll do in each environment. Remember to consider security and compliance requirements at every stage.
Make one overall testing plan that includes:
You may not have some of this information until you start testing. Some items may not apply if you’re implementing OOTB apps.
If you’re creating a custom app, write test cases so that you can test the app once it’s developed. Your company may already have a process to write test cases. But if not, we recommend the project manager, project sponsor, and key stakeholders write these together.
When you write test cases, make sure they align with your selected use case. The goals and metrics that you wrote might also provide requirements that your app needs to meet. Write to real-world scenarios that people in your company will experience within the use case.
Consider test cases for different types of users as well as different types of data the app makes available. To be effective, tests should replicate what it’s like in the real world. Plan to complete these tests in a QA or staging environment that replicates your production environment as closely as possible.
Document your test cases and include them as part of your overall testing plan.
Have a question? Submit your contact information and we’ll reach out within 1 business day. You’re never obligated to purchase or commit.