F# Tree Building: tests system refused the solution over a warning

Hi,
When submit my solution for Tree Building, the exercism system refused to accept over a warning:

/root/.nuget/packages/microsoft.net.test.sdk/16.8.3/build/netcoreapp2.1/Microsoft.NET.Test.Sdk.targets(46,5): warning : A ‘Program.fs’ file can be automatically generated for F# .NET Core test projects. To fix this warning, either delete the file from the project, or set the property to ‘false’.

All local tests have been passed, however. I also changed the project file to supress the warning, but obbiously, only the fs-file was submitted. So even on 2. try, Exercism still refused my solution. Loading in the online editor to run the tests d not help either.

Where are you seeing this message?

On the right panel (Result), after running the test. I can suppress the warning on my local system, but not on Exercism site. The problem is that Exercism took the warning as an error and refused my solution.

It looks like this exercise wasn’t designed to run through the online editor. It asks to “also run the benchmark tests”, which cannot be done using the online editor.

@ErikSchierboom Could this be fixed? The warning says: “To fix this warning, […] or set the property to ‘false’.” - which property should be set?

Weird. I’ll look into it

Sorry , if it offended you. I didn’t mean to :cry: I’ve removed it.

1 Like

Thank you - I appreciate that :slight_smile: As you’ve edited it, I’ll delete my messages so there’s not a permanent record of the conversation :slight_smile:

(If you delete yours, I’ll delete this one too :))

Hopefully, this PR fixes the issue.

Thank you, Erik. Yes, it passed all the tests, so I could submit the solution.

As a side note, can we not publish the results of the benchmarks, too? As the exercise is a factoring one, benchmark results are of great interest.

We can’t unfortunately
as those run way too long and would cause timeouts