|
Just curious, for those of you using Unit Tests, what testing framework are you using and why?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
we baked our own for C++ code.
We also use googletest for newer projects.
For C#, xunit (but I've not used it personally)
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
|
|
JUnit4 + Mockito + AssertJ is the setup I'm using right now; partly because that's what was already being used but I've also grown to like them. I use NUnit when I do C# so JUnit is right up my alley; Mockito is just great period; and I like AssertJ's fluent style over something like hamcrest.
|
|
|
|
|
C# developer here. I've been using xUnit with Moq and Fluent Assertions for some time now. To the extent that I write unit tests (which is less than the zeitgeist would suggest I should), I find this combo is decently enjoyable to work with.
|
|
|
|
|
NUNIT for C#
diligent hands rule....
|
|
|
|
|
For .NET - xUnit, because the company says so.
For Angular - Jest / Mocha, also because the company says so :P
|
|
|
|
|
If I use it, NUnit or xUnit.
NUnit because it is (used to be?) the default in Visual Studio.
xUnit because Microsoft said so and there are now standard xUnit project templates available.
I've found the two to be interchangeable for the limited amount of tests I run.
|
|
|
|
|
I'm starting a new job in the near future, and they use Selenium with (I think) nUnit.
The place I'm at right now doesn't have any unit or integration testing in place - at all.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I got a fancy ESP32S3 MCU but it had no PSRAM in it, so I was stuck with the < 512kB of SRAM - about 300kB+ is what I get on system boot.
So I bought another one, this one with 8MB of PSRAM in it. I'm thinking "great, that was almost twice as expensive as the last one I bought, but whatever"
Turns out both are beta rev 3 boards. That's bad. The betas can't use their PSRAM. Also, they aren't labeled as betas. You either have to decode its model id which I don't even know where the docs for that are (and might be in Chinese), or plug the chip into a PC and watch it fail under the latest Arduino branch with "Wrong chip type". I can get Arduino working on it through my own means, but no PSRAM.
I don't even know of a reliable source of post beta boards.
So...
I've been working with about 300kB. With truetype. I've been loading and unloading fonts in and out of RAM as needed. I've been juggling MIDI data, such that I had to come up with a bit packing scheme to store all the currently depressed notes and ignore the velocities instead of tracking it all.
It's heckin difficult. I don't even know if this is doable. I won't know until I hit the memory wall.
Fortunately if I do hit that wall, I can probably get it working on a WROVER with an external USB device breakout. I don't want to. I also fear the processor isn't as quick.
Anyway, one thing about all of this is I'm getting bigger getting better in terms of coding.
Juggling RAM, doing so quickly. Running truetype in real time, using the 2nd core to render my display, while the primary core handles MIDI, etc. Workin' it baby.
There's something deeply satisfying about writing code that pushes the hardware envelope, even when that hardware is very small. Getting it firing on all cylinders is a gratifying accomplishment.
To err is human. Fortune favors the monsters.
|
|
|
|
|
|
like weird al better
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Check with Frank Zappa. He had experience through his band, a while back...
|
|
|
|
|
Savage tailless animal with artificial learning (6)
Savage = Brutal
Tailless animal = Brut ( Brute )
artificial learning = al
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Savage tailless animal with artificial learning (6)
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Was just considering if I'm about at 9am on Monday, before posting my answer, when I noticed that my prepared clues have all vanished from my sticky notes!
|
|
|
|
|
Go for it Rich, you have all weekend to compose one.
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I'll leave it a while for someone else as I'm pretty unwell with a bug and not scoring too highly on the brain functionality front at the moment.
|
|
|
|
|
|
Nope
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Clown Core - Three[^]
I found Clown Core a few weeks ago on Spotify, but gave them a good listen last week and it stuck.
Not much is known about them, they just showed up on the internet one day, posting music videos on YouTube and wearing clown masks.
People suspect they're drummer Louis Cole from electronic duo KNOWER and saxophonist Sam Gendel.
As for what they play, that's about as mysterious as who's playing it.
I found this on the internet: "Fusing Jazz, Metal, Noise and Circus music, they create a bizarre, experimental style"
The German Metal Hammer said (freely translated): "Removed far from every music genre"
In any case, it's pretty eclectic!
And I have a feeling I know that theme in the background, but I can't place it 🤔
Anyway, SOTW!
|
|
|
|
|
Background at the end sounds a lot like Kenny G.
|
|
|
|
|
|
David O'Neil wrote: Kind of reminds me of The Shining. The Norwegian one I presume? (Black Jazz).
I'm not hearing the Swedish one
Not a huge fan of 80's music, so I'm not going to sit out the entire 3.5 hours
Nice list though, not the artists we all know.
|
|
|
|