CSBiology / FSharpAux

Auxiliary functions and data structures for the F# programming language
MIT License
23 stars 16 forks source link

Fable Compatibility ✨ #36

Closed Freymaurer closed 1 year ago

Freymaurer commented 1 year ago

I made FSharpAux Fable compatible!

Todo:

Freymaurer commented 1 year ago

image Example for mocha tests

Freymaurer commented 1 year ago
Freymaurer commented 1 year ago

@kMutagene @omaus @HLWeil ready to merge i think

kMutagene commented 1 year ago

I'll take a detailed look tomorrow, especially regarding the packing workflow, but looks great so far 👌

Freymaurer commented 1 year ago

I added a watchtests fake tast to run ALL tests in watch mode in parallel:

Example startup:

image

Any changes to the test repos are propagated to the relevant test suits and live updated in the console 🎉

HLWeil commented 1 year ago

Amazing stuff! Just two quick questions:

  1. Shouldn't the Mocha Native Tests point to FSharpAux.Core? image
  2. Also in the CI workflows, you have a dotnet test and a fable test step, but the transpiled mocha tests get executed in both cases. What's the rationale behind this?
Freymaurer commented 1 year ago

@HLWeil

Shouldn't the Mocha Native Tests point to FSharpAux.Core?

Yes, you are right, i connected the wrong node.

Also in the CI workflows, you have a dotnet test and a fable test step, but the transpiled mocha tests get executed in both cases. What's the rationale behind this?

I don't see what you mean. Right now we have the following fake tasks:

Run

Watch

let me know if this clears this up