predrag, to rust
@predrag@hachyderm.io avatar

cargo-semver-checks now adds the latest Rust to its CI test matrix automatically 🤩

I love automating repetitive maintenance work, and Rust 1.78 is a great real-world test case to make sure this new automation works properly. It did!
https://github.com/obi1kenobi/cargo-semver-checks/pull/773

henrikjernevad, to programming
@henrikjernevad@mastodon.social avatar

Why should you unit test? What should you unit test? And how much?

Today's blog post answers these questions and provides some helpful guidelines.

The post is actually a lightly edited extract of a book on unit testing that I started about 10 years ago but never finished. Still, it has aged reasonably well.

https://henko.net/blog/why-write-unit-tests/

#programming #unittesting #testing

leanpub, to Software
@leanpub@mastodon.social avatar

A Practical Guide to Testing in DevOps by Katrina Clokie is free with a Leanpub Reader membership! Or you can buy it for $7.99! http://leanpub.com/testingindevops

aeveltstra, to math
@aeveltstra@mastodon.social avatar

The other day my kid asks me to present math problems about area. Early middle school: simple multiplications and divisions. He got taught a formula for areas of trapezoids: A = 1/2h * (b1 + b2).

I decided to show him how to #unittest his #math solution, by giving him a different approach: A = a + 2b, where a = area of the square, and b = area of each triangle on the sides of that square.

He threw a fit and refused to accept my approach, because it wasn’t the same as he had learned.

smh

aeveltstra,
@aeveltstra@mastodon.social avatar

There’s 2 morals to this story:

  1. Educators should avoid making belief that the approach they teach is the only possible one.
  2. You cannot verify your approach by repeating it. That only tests whether it leads to the same outcome, but doesn’t verify. Instead, you need to find a different way to get to the same conclusion, and then compare.

#testing #unittest #education #softwareengineering #softwaredevelopment

mzikmund, to VisualStudio
@mzikmund@dotnet.social avatar

🌐 Ever wished you could share your localhost web app with the world? With Dev Tunnels, now you can! Check out my latest video to see how:

https://youtu.be/6IrPc3zU1ho

mglaman, to drupal
@mglaman@phpc.social avatar
henrikjernevad, to programming
@henrikjernevad@mastodon.social avatar

I think that testable code is reusable code. When you test a function, you run the code in another context than it was built for (the production code). If your code is not reusable you will feel that pain in your tests.

This blog post gives an example of how getting side effects out of functions make them both easier to test and reuse.

https://henko.net/blog/testable-code-is-reusable-code/

#programming #testing #reuseability

WebAxe, to accessibility
@WebAxe@a11y.info avatar
doctormo, to linux
@doctormo@floss.social avatar

Attention #inkscape testers. While we wait for an actual alpha release, you can use the downloads which I've just fixed the links for here: https://inkscape.org/release/inkscape-1.4.x/

I recommend using the AppImage if you're on #linux and the dmg/7z files should be fairly straightforward for other operating systems.

Oh, and thanks, user #testing is still the main way Inkscape finds bugs before releases while we work on building our test suites. ❤️

marcoow, to rust
@marcoow@mastodon.social avatar

last chance to sign up for our workshop next week!
https://fosstodon.org/@mainmatter/112257366254844416

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar
leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

garrettdimon, to rails
@garrettdimon@ruby.social avatar

Quick and dirty custom assertion to streamline ensuring valid syntax in generated Ruby files when testing custom generators.

  1. Accounts for destination_root
  2. Runs ruby -c to check a file's syntax
  3. Displays the full path (including destination_root) to the offending file if it fails

It works, but something tells me there's likely a better way to do some or all of this?

#Rails #Generators #Testing

leanpub, to devops
@leanpub@mastodon.social avatar

Continuous Delivery Pipelines by Dave Farley is on sale on Leanpub! Its suggested price is $16.99; get it for $7.99 with this coupon: https://leanpub.com/sh/pkvxt0HQ

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

dansup, to random
@dansup@mastodon.social avatar

I’ve said it before and I’ll say it again, most of y’all don’t know what it’s like to be a fediverse developer of a popular project and have to deal with all the negative feedback and personal attacks

Let’s be nicer to the devs of the fediverse who have been doing this mostly unpaid for the greater good, all I ask is for basic respect!

Anfora, Prismo, Firefish and dozens of other projects have been abandoned by their devs, and I’d bet the fediverse mentality towards devs is part of the reason

FiveSketches, (edited )
@FiveSketches@mastodon.social avatar

@dansup

One good way to support the Fediverse's volunteer devs: ask them to work with volunteer design and user-research practitioners who help them to develop and test usable designs – before any substantial code is written.

Testing mockups and prototypes with the community would reduce unhappiness all around.

#UX #UXD #design #UCD #SoftwareDesign #UR #UserResearch #usability #mockup #prototype #testing #UserNeeds #users #IxD #InteractionDesign #coding #dev #development #SoftwareDevelopment

Crell, to php
@Crell@phpc.social avatar

This is a legit clever way to test a zillion closely-related test cases. And not just for regexes as shown here.

https://stitcher.io/blog/testing-patterns

WebAxe, to accessibility
@WebAxe@a11y.info avatar

Israel quietly rolled out a mass facial recognition program in the Gaza Strip (www.theverge.com)

The New York Times reports the tech has mistakenly identified people as connected to Hamas. Israel has deployed a mass facial recognition program in the Gaza Strip, creating a database of Palestinians without their knowledge or consent, The New York Times reports. The program, which was created after the October 7th attacks,...

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

leanpub, to devops
@leanpub@mastodon.social avatar

The Docs as Code Primer by Gijs Reijn is on sale on Leanpub! Its suggested price is $14.99; get it for $8.79 with this coupon: https://leanpub.com/sh/vYFxoecd #Devops #Testing

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • ethstaker
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • slotface
  • mdbf
  • InstantRegret
  • everett
  • rosin
  • kavyap
  • ngwrru68w68
  • osvaldo12
  • PowerRangers
  • Leos
  • vwfavf
  • thenastyranch
  • hgfsjryuu7
  • khanakhh
  • modclub
  • Durango
  • tacticalgear
  • GTA5RPClips
  • normalnudes
  • cubers
  • tester
  • cisconetworking
  • provamag3
  • All magazines