Skip to content

Commit

Permalink
doc(i18n): translate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Dec 23, 2024
1 parent 6639988 commit 434f608
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 119 deletions.
3 changes: 2 additions & 1 deletion next/language/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ When developing libraries, it is important to verify if the user can use it corr

- A test that has access only to the public members in a package is called a BlackBox tests. Such tests need to be defined in a file whose name ends with `_test.mbt`.

The WhiteBox test files (`_wbtest.mbt`) imports the packages defined in the `import` and `wbtest-import` sections of the package configuration (`moon.pkg.json`).
The WhiteBox test files (`_wbtest.mbt`) imports the packages defined in the `import` and `wbtest-import` sections of the package configuration (`moon.pkg.json`).

The BlackBox test files (`_test.mbt`) imports the current package and the packages defined in the `import` and `test-import` sections of the package configuration (`moon.pkg.json`).
Loading

0 comments on commit 434f608

Please sign in to comment.