Tutorials

Create AST Rules

BackNext

10. Write a test

Add three new tests:

  1. program.py with the following code
1print("bla")
  1. program_2.py with the following code
1print("foo")
  1. program_test.py with the following code. This test will not trigger any error because of the file name.
1print("foo")

Let's go!

Start interacting with the tutorial!

my-new-rule.js

Codiga Logo
Codiga Hub
  • Rulesets
  • Playground
  • Snippets
  • Cookbooks
soc-2 icon

We are SOC-2 Compliance Certified

G2 high performer medal

Codiga – All rights reserved 2022.