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

Property tests #108

Open
4 of 17 tasks
lastmjs opened this issue Mar 22, 2022 · 0 comments
Open
4 of 17 tasks

Property tests #108

lastmjs opened this issue Mar 22, 2022 · 0 comments
Assignees
Milestone

Comments

@lastmjs
Copy link
Member

lastmjs commented Mar 22, 2022

Property tests are one of the final remaining hurdles to 1.0 for Azle. These tests will thoroughly test most/all aspects of Azle.

Please create a comment in this issue with a "fixed" checkbox at the top of the comment for every Azle bug found during the property tests.

Essentially we will create one property test, similar to the example tests, per major concept in Azle. The main task of each property test is to create the arbitraries required for that test. At the highest level each test will have a canister arbitrary. The canister arbitrary will be composed of arbitraries for other aspects of the test, imagine query method arbitraries, update method arbitraries, etc.

  • Should we add TypeScript type checking tests to each prop test? I think that might be good, just fail on a tsc check
  • Think about testing the negative/error cases
  • Make sure to test Result
  • Abstract out the actor require with the caching
  • get rid of module commonjs
  • What about creating these types as global variables?
  • Deeply understand float32/float64 differences
  • We need to make sure that function names cannot be JS or Rust keywords

Property Tests

@lastmjs lastmjs added this to the 1.0 milestone May 26, 2022
@lastmjs lastmjs mentioned this issue May 26, 2022
@lastmjs lastmjs self-assigned this Jan 4, 2023
@dansteren dansteren removed their assignment Dec 29, 2023
@lastmjs lastmjs modified the milestones: 1.0 (old), 1.0 Jan 5, 2025
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

No branches or pull requests

3 participants