# Overview

This project contains test cases aimed at validating the correct runtime execution 
of the Event Pack on a MicroEJ VEE Port connected to a Board Support Package (BSP).

Tests are written as JUnit test cases, thus the main entry point is automatically generated by the MicroEJ SDK.

Tests can be launched:

- as a standard MicroEJ Application by using a local launcher.
- as a testsuite from VEE Port Qualification Tool.


# Usage

## Run on the device

Some tests are using native methods. Before running this tests, you have to add the header file and the source file to your BSP project:

- [TestCNatives_impl.h](content/include/TestCNatives_impl.h)
- [TestCNatives_impl.c](content/source/TestCNatives_impl.c)

Then you can run the testsuite on your device.

## Run on the simulator

Some tests are using native methods. Before running this tests, you have to add [event-testsuite-mock](../event-testsuite-mock) Mock to your platform following [Mock Installation](https://docs.microej.com/en/latest/VEEPortingGuide/mock.html#installation) instructions. 

Then you can run the testsuite on the simulator.

## Run with VEE Port Qualification Tool

- Follow the README instructions of the VEE Port Qualification Tool.

# Requirements

-  MicroEJ SDK version ``5.6.2``.

# Dependencies

_All dependencies are retrieved transitively by MicroEJ Module Manager_.

# Source

N/A.

# Restrictions

None.

---
_Copyright 2023 MicroEJ Corp. All rights reserved._
_Use of this source code is governed by a BSD-style license that can be found with this software._