dotnet / dotnet/fsharp

[Test Framework] Add ability to run expression tests in new framework

Open
#9,824 0 comments 0 reactions 0 assignees View on GitHub
Area-Testing Contributor Pain Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

We need to run existing expression tests from new framework.
Should include:
* Ability to generate tests based on the "template" and testdata/inlinedata
* Ability to comparing with baseline (with ranges)

We should have a clean baseline-like API for expression tests.
[Existing expression tests API](https://github.com/dotnet/fsharp/blob/91d598e4770da4b0426f0d87c2a5f224193182f8/tests/service/ExprTests.fs)
[New baseline tests API](https://github.com/dotnet/fsharp/blob/master/tests/FSharp.Compiler.ComponentTests/ConstraintSolver/PrimitiveConstraints.fs#L16)

@abelbraaksma FYI. Please, also free to add anything that I've missed :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.