Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fable-compiler/Fable.Python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: fable-compiler/Fable.Python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/testing-module
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 19 files changed
  • 2 contributors

Commits on Dec 21, 2025

  1. feat: add Fable.Python.Testing module for cross-platform testing

    Add a Testing module that provides test utilities for writing tests that
    run on both .NET (with XUnit) and Python (with pytest).
    
    Features:
    - `equal` / `notEqual` - Assert equality/inequality (F# style: expected first)
    - `throwsError` - Assert exact error message
    - `throwsErrorContaining` - Assert error contains substring
    - `throwsAnyError` - Assert any error is thrown
    - `doesntThrow` - Assert no error is thrown
    - `FactAttribute` - Mark test functions for pytest discovery
    
    Uses `Fable.Core.Testing.Assert` (the standard Fable way) instead of
    custom Emit statements.
    
    Also removes the local test/Util.fs and updates all test files to use
    the new Fable.Python.Testing module directly.
    
    Release-As: 5.0.0-alpha.21.4
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
    dbrattli and claude committed Dec 21, 2025
    Configuration menu
    Copy the full SHA
    542fb29 View commit details
    Browse the repository at this point in the history
Loading