tree: 0a6f9f28e00cc721d8107d32f9641e67cb1f6893 [path history] [tgz]
  1. comment_referable/
  2. end2end/
  3. mustachio/
  4. render/
  5. src/
  6. templates/
  7. annotation_test.dart
  8. constant_values_test.dart
  9. dartdoc_options_test.dart
  10. documentation_comment_test.dart
  11. element_type_test.dart
  12. enum_test.dart
  13. grind_test.dart
  14. html_generator_test.dart
  15. io_utils_test.dart
  16. library_test.dart
  17. markdown_processor_test.dart
  18. model_node_test.dart
  19. model_utils_test.dart
  20. multiply_defined_test.dart
  21. options_test.dart
  22. package_meta_test.dart
  23. package_test.dart
  24. parameter_test.dart
  25. README.md
  26. resource_loader_test.dart
  27. source_linker_test.dart
  28. tool_runner_test.dart
  29. utils_test.dart
  30. warnings_test.dart
test/README.md

Tests

Most of dartdoc's tests are large end-to-end tests which read real files in real packages, in the testing/ directory. Unit tests exist in test/unit/.

Many of the end-to-end test cases should be rewritten as unit tests.

At some point, the distinction should flip, such that unit tests are generally located in test/, and end-to-end tests are found in a specific directory, or in files whose names signify the distinction.