Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Artificial Intelligence and Blockchain

You're reading from   Practical Artificial Intelligence and Blockchain A guide to converging blockchain and AI to build smart applications for new economies

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781838822293
Length 290 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ganesh Prasad Kumble Ganesh Prasad Kumble
Author Profile Icon Ganesh Prasad Kumble
Ganesh Prasad Kumble
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Overview of Blockchain Technology
2. Getting Started with Blockchain FREE CHAPTER 3. Introduction to the AI Landscape 4. Section 2: Blockchain and Artificial Intelligence
5. Domain-Specific Applications of AI and Blockchain 6. AI- and Blockchain-Driven Databases 7. Empowering Blockchain Using AI 8. Cryptocurrency and Artificial Intelligence 9. Section 3: Developing Blockchain Products
10. Development Life Cycle of a DIApp 11. Implementing DIApps 12. The Future of AI with Blockchain 13. Moving Forward - Resources for you 14. Other Books You May Enjoy

Testing a DIApp

Since these applications will most likely manage high-value assets and sensitive information, testing DIApps is a crucial step in the process before and after the deployment of all the modules in the network. Ensuring the correctness and lasting service of the application is critical for businesses and hence, it is a very important aspect of the development life cycle to bring back rigorous testing practices into the process.

Let's now go through the key highlights of the testing and deployment processes for a DIApp.

Authoring the test cases

Before the software can be deployed, we can try to ensure the correctness of the software and also confirm the fitness of the runtime environment by running a few crucial tests. Usually, these tests are implemented within the source code, in the form of unit test files containing dummy input values being passed to the functions, later checked through assertion to ensure the correctness of the software in the relatively new environment...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime