Dev Leader · @devleader
75 followers · 459 posts · Server hachyderm.io
Brom · @brom
16 followers · 117 posts · Server mastodon.ml

Сегодня я поведал (github.com/Rostand-Corp/flitch) людям, что в тестах они могут использовать DI контейнер, а не мокать и стабать все без разбора ^_^

#dotnet #xunit

Last updated 1 year ago

Janne Pasanen · @jannep
30 followers · 208 posts · Server techhub.social

My newest blog post demonstrates how to build pipelines test automation with and Azure .

dev.to/jannepasanen/automated-

#synapseanalytics #xunit #devops

Last updated 1 year ago

jdm2 · @jdm2
612 followers · 1200 posts · Server techhub.social

I was extremely annoyed at the fact that one particular Visual Studio project couldn’t run unit tests but apparently Visual Studio Code could with no problems.

Turns out Visual Studio NEEDS the Nuget package xunit.runner.console to run tests inside the test explorer.

#xunit #dotnet #visualstudio

Last updated 2 years ago

Wade Wegner · @WadeWegner
331 followers · 246 posts · Server hachyderm.io

Okay, I'm pretty happy with and .

Check out this test: github.com/wadewegner/wordle-s

First, I'm pleased with my cleverness when constructing a set of shorthand for building guesses to evaluate the responses.

Second, I love the syntax of FluentAssertions.

#xunit #fluentassertions

Last updated 2 years ago

Curtis Carter · @codingcoyote
17 followers · 75 posts · Server fosstodon.org

@WadeWegner I've read a lot about (IIRC it's from the same dev that made ). It's a lot simpler to setup, but lacks some features that they feel promotes bad practices. I use NUnit at work with no complaints, but I've been using xUnit for my OSS projects since there's less ceremony (setups are constructors and teardowns are handled by implementing IDisposable)

#xunit #nunit

Last updated 2 years ago

ecoAPM · @ecoAPM
2 followers · 3 posts · Server fosstodon.org

Who says to never deploy on a Friday? We've got not just 1, but 2 new releases today!

First up, it's 5 support for our /#TDD framework, .ts!

npmjs.com/package/xunit.ts

And a small security fix for our org admin helper utility, :

nuget.org/packages/GitHubLabel

Happy Friday!

#typescript #unittesting #xunit #github #githublabelsync

Last updated 2 years ago

ecoAPM · @ecoAPM
2 followers · 2 posts · Server fosstodon.org

It's our first release since joining !

.ts is a framework, following standard xUnit patterns!

v1.3.2 adds support for Parcel v2, download it at npmjs.com/package/xunit.ts

#oss #mastodon #xunit #typescript #unittesting

Last updated 2 years ago

Mark Gardner ‍:sdf: · @mjgardner
528 followers · 2543 posts · Server social.sdf.org

How is it that I’ve been doing for almost thirty years and have never run into the acronym SUT (system under test) or seen it used as a variable name in tests until today?

Though I’m not a fan of TLAs (three-letter acronyms) as variable names.

TIL

xunitpatterns.com/SUT.html
en.wikipedia.org/wiki/System_u
learn.microsoft.com/en-us/arch
thoughtbot.com/blog/don-t-stub

#softwaredevelopment #programming #coding #testing #softwaretesting #unittesting #xunit

Last updated 2 years ago

Paul Pitchford · @pitchie
8 followers · 15 posts · Server dotnet.social

I’m learning about writing unit tests. It feels like the elephant in the room I’ve been ignoring. It feels like there is a lot of leg work, especially for testing my db code but I’m hoping that as the app progresses and I write more tests they’ll feel more useful. Do you write and git commit your tests with your code changes or do you write your tests separately and treat them as separate commits?

#git #UnitTesting #xunit #entityframework

Last updated 2 years ago

Havagan · @havagan
1 followers · 10 posts · Server hachyderm.io

@tob It seems par for the course for government contracts to have poor infrastructure. This will be the fourth for me and the first two had no source control at all. I'm a broken record on each new contract:

#git #xunit

Last updated 2 years ago

Is there a way within to skip a test or leave it as indeterminate during runtime? I understand why this is a bad idea, but have an integration test with a system that takes like 15 minutes to "release" and there's no point in reporting this a a failure. Ideally it could be marked as skipped so I still have statistics in CI/CD.

#xunit

Last updated 2 years ago

Madbasketballer 🇵🇷 · @Madbasketballer
401 followers · 1413 posts · Server mstdn.party

Acabo de montar un servicio a fuerza de data de prueba y xUnit en tiempo record. Yo pensé que necesitaría el sprint entero para esperar las especificaciones. :blobcatdance:

#xunit #dotnet

Last updated 2 years ago

Hassan Habib · @hassanhabib
16 followers · 16 posts · Server techhub.social

Have you heard of Traits in xUnit?

You can use them to determine which tests you want to run in any particular environment based on the filtering capability for traits

Check it out here today.

Thanks Danielle for the inspiration 🙂

#dotnet #xunit #tdd #csharp #testing

Last updated 2 years ago

Structed · @structed
93 followers · 149 posts · Server mastodon.social

has gotten so much better over the years. Thank you to all the maintainers for making it a breeze to work with.

#xunit #dotnet

Last updated 2 years ago

Hassan Habib · @hassanhabib
10 followers · 6 posts · Server techhub.social

Did you know you could set a timeout in your xUnit tests?

#tdd #xunit #csharp #dotnet

Last updated 2 years ago

Mathias Hasselmann · @taschenorakel
453 followers · 1269 posts · Server mastodon.green

If your framework requires code that's significantly more arcane than the actual production code under test, you simply failed at designing a testing framework.

#testing #csharp #xunit #programming #sadtruths

Last updated 2 years ago

Jeko · @jeko
236 followers · 2866 posts · Server framapiaf.org
James :fedora: :kde: · @jameskupke
79 followers · 628 posts · Server fosstodon.org

Had to do a coding test for an interview. They were a little hesitant since I wasn't "hands-on" for quite some time.

Went from nothing installed to my laptop to running tests within . Some of the answers were a bit rough due to the time constraint, but I felt pretty good on the unit test coverage.

I also sent a github link for the code in addition to just pasting the responses.

Now scheduled for the next round of interviewing. I think I showed them I was hands on enough. 😉

#vscode #xunit

Last updated 3 years ago