Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dummy Test Suite

Minimal test suite skeleton built on the Test Environment framework.

Structure

dummy-ts/
├── dummy-ts/               # Test suite source
│   ├── lib/                # tsapi_evo — charts and hints library
│   ├── experiment/         # Experiment test group
│   │   ├── prologue.c      # Group prologue
│   │   ├── epilogue.c      # Group epilogue
│   │   └── dummy_test.c    # Test with charts, verdicts, two iterations
│   ├── prologue.c          # Suite prologue
│   └── epilogue.c          # Suite epilogue
├── conf/                   # Configuration
│   ├── run.conf.localhost  # Localhost run config
│   ├── env.localhost       # Localhost environment
│   ├── external.yml        # External TE repositories catalog
│   └── builder.conf.lock   # Commits those repositories are pinned to
└── scripts/                # Helper scripts

Prerequisites

  • Docker
  • test-environment cloned alongside this repo:
git clone https://github.com/ts-factory/test-environment.git ../test-environment

External modules

The suite builds a TAPI and a Test Agent type from tsf-dummy, a repository outside the TE tree. conf/external.yml says which repository and which reference to follow; conf/builder.conf.lock records the commit that is actually built and is committed alongside it, so that a clean checkout on any machine builds the very same sources.

To move to a newer commit of an external repository:

./scripts/run.sh docker guess --cfg=localhost --update-external

Then commit the updated conf/builder.conf.lock.

Running

./scripts/run.sh docker guess --cfg=localhost

The suite runs two iterations of dummy_test:

Iteration should_fail Result
1 FALSE pass — metric = 42
2 TRUE FAILED — metric = 0, verdict emitted

Results

Logs are written to the build directory after the run:

cat log.txt

Generate HTML:

./scripts/html-log.sh

License

Copyright (C) 2025-2026 Interpretica Unipessoal Lda

Authors

About

Dummy test suite

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages