This document summarizes the comprehensive test suite created for the IFNOT repository, specifically targeting the changes in the current branch (compared to main).
The git diff between main and HEAD shows:
- Modified files:
README.md(documentation updates) - Deleted files: Multiple configuration and workflow files (CI/CD, CLA, contributing guidelines, etc.)
Since only README.md was modified (all other files were deletions), the test suite focuses on comprehensive validation of the documentation file.
tests/test_readme.py- Main test file with 27 comprehensive teststests/README.md- Documentation for the test suitetests/.gitignore- Python-specific ignore patternsrun_tests.py- Convenient test runner script at repository root
The test suite validates README.md across multiple dimensions:
test_readme_exists- File existence and basic structuretest_has_main_heading- Main heading presencetest_markdown_heading_hierarchy- Heading hierarchy validationtest_section_order- Section orderingtest_no_empty_sections- No consecutive headingstest_has_charlie_labs_section- Charlie Labs AI section existstest_has_about_section- About section existstest_about_section_heading_level- Proper heading levels
test_main_heading_content- Main heading: "# IFNOT"test_has_subtitle- Subtitle: "The IFNOT fund"test_charlie_labs_section_heading- Charlie Labs AI Integration sectiontest_has_website_link- Website link presencetest_has_location_information- Location information (TEXAS)test_location_format- Location line formattest_integration_description_exists- Integration descriptiontest_linear_reference_format- Linear reference formattest_readme_not_empty- Non-empty content
test_url_format- URL format validationtest_website_link_format- Markdown link syntaxtest_charlielabs_url_accessible_format- Charlie Labs AI website link formattest_no_broken_markdown_links- No broken links
test_consistent_bold_formatting- Bold text formatting (text)test_consistent_capitalization- Consistent capitalizationtest_no_trailing_whitespace- No trailing whitespacetest_file_ends_with_newline- File ends with newline
test_no_html_tags- No HTML tags (pure markdown)test_no_undefined_references- No references to deleted files
python3 run_tests.pypython3 tests/test_readme.py