Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for eunit module #1204

Merged
merged 1 commit into from
Jun 29, 2024
Merged

Add support for eunit module #1204

merged 1 commit into from
Jun 29, 2024

Conversation

pguyot
Copy link
Collaborator

@pguyot pguyot commented Jun 22, 2024

Add a simplified implementation of eunit interface, with an output compatible
with unity test as parsed by Python dut module for qemu-based eunit testing.

Eunit can be used on rebar3 projects on generic_unix on both BEAM and AtomVM
with:

rebar3 eunit
rebar3 as test atomvm packbeam
atomvm ${ATOMVMDIR}/build/libs/etest/src/beams/eunit.beam \
    ${ATOMVMDIR}/build/libs/atomvmlib.avm \
    _build/test/lib/*.avm

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@pguyot pguyot force-pushed the w25/eunit branch 12 times, most recently from 561b2df to 1b73d5e Compare June 27, 2024 21:08
Add a simplified implementation of eunit interface, with an output compatible
with unity test as parsed by Python dut module for qemu-based eunit testing.

Eunit can be used on rebar3 projects on generic_unix on both BEAM and AtomVM
with:

rebar3 eunit
rebar3 as test atomvm packbeam
atomvm ${ATOMVMDIR}/build/libs/etest/src/beams/eunit.beam \
    ${ATOMVMDIR}/build/libs/atomvmlib.avm \
    _build/test/lib/*.avm

Signed-off-by: Paul Guyot <[email protected]>
@pguyot pguyot marked this pull request as ready for review June 29, 2024 19:16
@bettio bettio merged commit 98a0412 into atomvm:main Jun 29, 2024
81 of 82 checks passed
@pguyot pguyot deleted the w25/eunit branch June 30, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants