ni / ni/nimi-python

In nidigital, History RAM system tests cannot be run on simulated session

Open
#1,273 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

nidigital test
Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Description

Description of issue

nidigital python API contains fancy HRAM method. Digital driver does not simulate HRAM functions in the C API "well enough", to allow testing of the fancy HRAM method. During development of fancy HRAM method, the system tests were run on real h/w. But these tests are disabled on the nimi-bot runs.

We need to re-enable the tests by doing one of the following:

  1. Mock the C entry points
  2. Improve the simulation in C API
  3. Use real h/w to run tests in CI
  4. Something else

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the nidigital Python API's fancy HRAM method, its system tests, and the C API simulation used by nimi-bot runs; the payload names no files or test paths. Compare the proposed approaches—mocking C entry points, improving simulation, or using real hardware—and consider the work complete when the History RAM system tests run successfully in the intended simulated-session CI path.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
ci-cd, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.