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

Automated testing of QPI functions in testnet #291

Open
philippwerner opened this issue Jan 31, 2025 · 0 comments
Open

Automated testing of QPI functions in testnet #291

philippwerner opened this issue Jan 31, 2025 · 0 comments
Assignees

Comments

@philippwerner
Copy link
Contributor

  • add testing and interface for testing of untested QPI functions to contracts TestExampleA.h and TestExampleB.h
  • important to test tick-related functions that cannot be tested in Google Test (yet), such as getting timestamp, number of ticks etc.
    • getting tick-related data should be tested in all system procedures and a user procedure that can be triggered optionally
    • data per tick is stored in an array, including the returned values and inconsistencies among different procedures if any
    • data can be queried via contract function
  • implement qubic-cli command for automatic testing, comparing tick results returned by contract function and results returned by existing functions to query tick info
  • important test case: first tick after loading auto-saved snapshot

This is a follow-up task of #283 for testing the implementation.

@philippwerner philippwerner converted this from a draft issue Jan 31, 2025
@Franziska-Mueller Franziska-Mueller self-assigned this Feb 19, 2025
@Franziska-Mueller Franziska-Mueller moved this from 📋 Backlog to 🏗 In progress in qubic Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants