exercism / csharp-test-runner Goto Github PK
View Code? Open in Web Editor NEWAn experimental test runner for Exercism's C# Track
License: GNU Affero General Public License v3.0
An experimental test runner for Exercism's C# Track
License: GNU Affero General Public License v3.0
In line with our new org-wide policy, the master
branch of this repo will be renamed to main
. All open PRs will be automatically repointed.
GitHub will show you a notification about this when you look at this repo after renaming:
In case it doesn't, this is the command it suggests:
git branch -m master main
git fetch origin
git branch -u origin/main main
You may like to update the primary branch on your forks too, which you can do under Settings->Branches and clicking the pencil icon on the right-hand-side under Default Branch:
We will post a comment below when this is done. We expect it to happen within the next 12 hours.
Possibly same issue as this .
A mentee left the following message with their submission on the exercise.
The container that the tests run in doesn't appear to be returning any timezones from
TimeZoneInfo.GetSystemTimeZones()
. The tests run locally both on Linux and Windows so I'm a bit confused here. Is there some other config item that needs to be set in order for the time zones to be found or is this an environment issue with the tests being run in a container?
I have asked the member to add any additional info they might have on the issue.
In run.ps1, Enable-All-Tests
function is producing a truncated test file if the file size is big. It seems that there is a limit on the number of characters pipe operator can handle.
function Enable-All-Tests {
Get-Content $testFile | Unskip-All-Tests | Set-Content $testFile
}
Changing the code slightly avoid the second pipe operator, resolves the issue.
function Enable-All-Tests {
$content = Get-Content $testFile | Unskip-All-Tests
$content | Set-Content $testFile
}
If there is a compile error, it is output as a string. E.g. "; expected". It would be very useful if this message would include the line number.
Sometimes, a good way to organize your C# code is to use partial classes and have different files with the implementation for the support of different interfaces.
I tried to enhance my solution to the Clock problem this way and now it seems that the test suite cannot run tests on the solution anymore. I have submitted all files, and they all appear on the web editor as different files, but it seems that they are not being compiled together and the tests fail to even start.
Here is the link to my public solution, look at the interaction 7: https://exercism.org/tracks/csharp/exercises/clock/solutions/arlm
It looks like property-based tests are not unskipped by the test runner.
As can be seen here , two tests are failing and hence CI is failing.
Enable the C# 8 nullable
feature for the test-runner.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.