Add Tests for PR#16 #17
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds tests for #16
Commits:
Add comprehensive migration tests for Swift Testing framework
Test struct-based test execution vs XCTestCase classes
Verify @test annotation functionality with throws
Test #expect() assertions replacing XCTAssert* methods
Validate String API simplifications (.regularExpression, .whitespacesAndNewlines)
Ensure code generation DSL works with new testing framework
Verify backward compatibility of existing functionality
Add assertion migration tests for Swift Testing
Test XCTAssertEqual to #expect(a == b) migration
Test XCTAssertFalse to #expect(!condition) migration
Validate complex normalized string comparison patterns
Ensure multiple assertions work correctly in single test
Cover all assertion patterns used in the migrated test files
Add code style migration tests for Swift API simplifications
Test String.CompareOptions.regularExpression to .regularExpression simplification
Test CharacterSet.whitespacesAndNewlines to .whitespacesAndNewlines simplification
Validate consistent indentation in migrated code
Test multiline string formatting changes
Ensure core DSL functionality is preserved through style changes
Add framework compatibility tests for XCTest to Swift Testing migration
Test struct-based organization vs class-based XCTestCase
Validate @test annotation with throws declarations
Ensure complex DSL patterns work identically with new framework
Test function generation, comment injection, and literal handling
Prevent regressions in code generation during migration
Verify complete feature parity between testing frameworks