Skip to content

Ask AI to generate tests for as many scenarios of potential race conditions for the whole framework as it can manage #104

Description

@teremterem
  • Make sure to hit hard on intermixing of sync and async promising functions
  • Ask it to first generate textual descriptions of scenarios (not all of them might be easy to generate tests for right away)
  • Strip away all the thread-safety for the first pass to capture race conditions that are already safe-guarded against
  • Bring back the existing thread-safety and make the AI to try harder to find ones that are still not safe-guarded against
  • Ask to do third and fourth passes, just for a good measure (any more that are also safe-guarded against already plus any more that are still not safe-guarded against)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions