This class builds upon the introduction to OmnisTAP offered in DevOps with Omnis Studio. We’ll take a deeper look at unit and integration testing with a particular focus on testing legacy code.
Learn how to update large, “spaghetti code” methods to be testable as well as use test-driven development to direct new code in a clean, quality direction. Bring your current libraries and your questions and we’ll explore the world of testable code. Topics include:
• Factoring out methods
• Refactoring code
• Clean code
• Mocking
• Adding metrics to your test runs
• Testing for program-wide problems in your app, such as invalid string table references in
menu lines
It’s recommend that you attend the DevOps with Omnis Studio course first or have prior experience with a testing framework.
Omnis Studio lets you create amazing solutions for any platform quickly. But how do you ensure your app remains top quality as its feature set and complexity grows? When you fix a bug, how can you be sure it stays fixed? Are you able to ship your app at any time with confidence that it’s functioning properly? Have you ever wanted to rebuild a chunk of code but were worried about the bugs that might creep in?
With the advent of Omnis Studio 8.1’s library exchange to JSON and open source tools like OmnisCLI and OmnisTAP, you can adopt our industry’s best practices of feature branching, automated unit testing, continuous integration and even continuous delivery for your Omnis Studio applications. These practices help ensure you can ship top-quality code at any time. Together, this combination of software development and operational testing and release management have become known as DevOps. Paired with Omnis’ legendary rapid development cycle, adopting these best practices can transport your application to a new level of quality and your work to a new level of productivity.
Whether you’re seasoned using unit testing and continuous delivery with other products or completely new to these concepts, this class is for you. We’ll cover:
• What is git?
• How to use git to manage code changes for yourself and a team
• How to share code on GitHub
• Automated testing in Omnis Studio with OmnisTAP
• Automating a build
• Using Jenkins to perform continuous integration
• And more!
Come learn how to adopt software development’s best practices in Omnis Studio and fall in love with coding in a whole new way!