🎉 SemanticTest v1.0.5
🐛 Bug Fixes
Fixed undefined path resolution in ValidateContent
- Fixed critical bug where undefined values in
from/asinput were treated as literal strings - ValidateContent now properly handles missing data paths and returns validation failures
- Changed core path resolution from
resolveValue()todataBus.get()for accurate undefined handling
Enhanced array contains operator
- Arrays now support substring matching: checks if any element contains OR equals the expected value
- Improves flexibility when validating arrays of strings
📚 Documentation
Complete example documentation (4 new pages)
- ✅ Basic API Test - REST API testing patterns
- ✅ AI Chat Test - LLMJudge semantic validation
- ✅ Calendar Agent - Tool validation patterns
- ✅ Error Handling - Error handling patterns
Updated links and references
- Documentation now available at docs.semantictest.dev
- Main website at semantictest.dev
- Updated all README references to new URLs
🗂️ Examples
Improved example structure
- Unified all examples into single
test-examples/directory - All examples now use context variables (
${BASE_URL},${USER_ID}) for better reusability - Renamed examples for clarity:
test-error-reporting.json→validation-test.jsontest-reporting.json→mock-ai-validation.json
- Removed environment-dependent examples for better portability
✅ Testing
- 453 tests passing (420 unit + 23 integration + 10 examples)
- 100% pass rate across all test suites
- All documentation examples tested and verified
📦 Installation
npm install @blade47/semantic-test@latest
🔗 Links
- 📖 Documentation: https://docs.semantictest.dev
- 🌐 Website: https://semantictest.dev
- 💻 GitHub: https://github.com/blade47/semantic-test
- 📝 Examples: See test-examples/ directory