Automated Testing With MDBCore Scripting

Automated Testing With MDBCore Scripting

This class will teach you how to use the MPLAB® X-basement 'MDBCore' for regression testing.

rate limit

Code not recognized.

About this course

The goal of that class is to introduce the power of MDBCore-scripting for FW-automation and testing.

1) This class first explains the MPLAB®X ecosystem and where MDBCore fits in before we dive into using MDBCore with different interfaces.

2) Before we look into MDBCore-based testing, we will see how to compile sources into *.elf in a script.

3) The major section on MDBCore-based testing is cut into these subsections

3.1) first we'll look at the first and easiest MDBCore-IF called mdb.bat

3.2) then we will discuss the limits of mdb.bat and provide a solution with mdbcs which provides further advantages as it opens the door into the big world of Java-libraries

3.3) next we will conclude with most sophisticated solution where we use all MDBCore-functionality in a Java-project

3.4) last we will see how to extend the IDE-functionality with any Python-module available through autoload.py

Curriculum131 min

  • Syllabus
  • Hardware and Software Tools
  • Glossary
  • Introduction into MPLAB® X ecosystem with MDBCore for automated testing
  • Introduction & Agenda 2 min
  • Motivation 2 min
  • Why Automation with MDBCore? 1 min
  • Architecture Breakdown 3 min
  • MDBCore - mdb 2 min
  • MDBCore - mdbcs 3 min
  • MDBCore - Java & autoload.py/Python
  • MPLAB SDK 2 min
  • Additional Materials
  • Summary 2 min
  • Compile without IDE
  • Recap and Introduction 6 min
  • Steps from *.c / *.h to *.elf 1 min
  • Handling Firmware Revisions 4 min
  • Parts of a MPLABX Project 2 min
  • Create Makefiles 4 min
  • Compile 2 min
  • Summary 1 min
  • Automate Testing with MDBCore (mdb)
  • Recap and Introduction 5 min
  • Definition of a Suitable Test Structure 3 min
  • Features of mdb 5 min
  • Interactive Usage - Principal Flow mdb 2 min
  • Automate mdb using Command Files 2 min
  • Extending mdb Functionality with Python 2 min
  • Limits of mdb 2 min
  • Test your Knowledge!
  • mdb Demo
  • Overview
  • Overview 3 min
  • Expected Result 2 min
  • The Demo 4 min
  • Automate testing with MDBCore (mdbcs)
  • Preparation 6 min
  • Creating mdbcs 5 min
  • Groovy 5 min
  • Scripting Styles 2 min
  • mdbcs API 2 min
  • mdbcs usage 3 min
  • Comparison 10 min
  • Summary 2 min
  • Demo 10 min
  • What is MDBCore? 4 min
  • Extending MPLAB X with Python
  • Python 13 min
  • Demo 2 min

About this course

The goal of that class is to introduce the power of MDBCore-scripting for FW-automation and testing.

1) This class first explains the MPLAB®X ecosystem and where MDBCore fits in before we dive into using MDBCore with different interfaces.

2) Before we look into MDBCore-based testing, we will see how to compile sources into *.elf in a script.

3) The major section on MDBCore-based testing is cut into these subsections

3.1) first we'll look at the first and easiest MDBCore-IF called mdb.bat

3.2) then we will discuss the limits of mdb.bat and provide a solution with mdbcs which provides further advantages as it opens the door into the big world of Java-libraries

3.3) next we will conclude with most sophisticated solution where we use all MDBCore-functionality in a Java-project

3.4) last we will see how to extend the IDE-functionality with any Python-module available through autoload.py

Curriculum131 min

  • Syllabus
  • Hardware and Software Tools
  • Glossary
  • Introduction into MPLAB® X ecosystem with MDBCore for automated testing
  • Introduction & Agenda 2 min
  • Motivation 2 min
  • Why Automation with MDBCore? 1 min
  • Architecture Breakdown 3 min
  • MDBCore - mdb 2 min
  • MDBCore - mdbcs 3 min
  • MDBCore - Java & autoload.py/Python
  • MPLAB SDK 2 min
  • Additional Materials
  • Summary 2 min
  • Compile without IDE
  • Recap and Introduction 6 min
  • Steps from *.c / *.h to *.elf 1 min
  • Handling Firmware Revisions 4 min
  • Parts of a MPLABX Project 2 min
  • Create Makefiles 4 min
  • Compile 2 min
  • Summary 1 min
  • Automate Testing with MDBCore (mdb)
  • Recap and Introduction 5 min
  • Definition of a Suitable Test Structure 3 min
  • Features of mdb 5 min
  • Interactive Usage - Principal Flow mdb 2 min
  • Automate mdb using Command Files 2 min
  • Extending mdb Functionality with Python 2 min
  • Limits of mdb 2 min
  • Test your Knowledge!
  • mdb Demo
  • Overview
  • Overview 3 min
  • Expected Result 2 min
  • The Demo 4 min
  • Automate testing with MDBCore (mdbcs)
  • Preparation 6 min
  • Creating mdbcs 5 min
  • Groovy 5 min
  • Scripting Styles 2 min
  • mdbcs API 2 min
  • mdbcs usage 3 min
  • Comparison 10 min
  • Summary 2 min
  • Demo 10 min
  • What is MDBCore? 4 min
  • Extending MPLAB X with Python
  • Python 13 min
  • Demo 2 min