WebAxe, to accessibility
@WebAxe@a11y.info avatar

Is Swiping a Path-Based Gesture?
By James Edwards.
https://www.tpgi.com/is-swiping-a-path-based-gesture/

adamchainz, to python
@adamchainz@fosstodon.org avatar

A pattern I’ve recently enjoyed using:

  1. Change some function in a way that needs fixes to call sites.
  2. Run the whole test suite with pytest.
  3. Copy the list of failing test IDs from pytest’s summary into a scratch file.
  4. Fix up the found callers.
  5. Verify everything fixed by saving the list of tests with: pytest $(cat scratch/testids.txt)

zwovierzwo, to debian

Mal eine Frage in die Gemeinschaft.
Vor längerer Zeit hatte ich Mal eine Anleitung wie man in ein stable einbaut das manche (nicht alles) Pakete aus dem oder installiert werden. Mit allen Risiken ich weiß.

Leider finde ich die nicht mehr.
Hat hier jemand einen Tipp 🤔

Danke schon mal

LateNightLinux, to linux
@LateNightLinux@mastodon.cloud avatar

Andy is a huge proponent of test-driven development and explains why – including types of code testing including unit tests and integration tests, when you actually need to run tests, how long they should take, and more.

https://www.linuxdevtime.com/linux-dev-time-episode-97/

#linux #podcast #opensource #development #testing

bmispelon, to django
@bmispelon@mastodon.social avatar
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

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

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

doctormo, to linux
@doctormo@floss.social avatar

Attention 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 and the dmg/7z files should be fairly straightforward for other operating systems.

Oh, and thanks, user 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 #rustlang #testing workshop next week!
https://fosstodon.org/@mainmatter/112257366254844416

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar
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

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,...

WebAxe, to accessibility
@WebAxe@a11y.info avatar
davidbisset, to opensource
@davidbisset@phpc.social avatar

WireQuery is a full-stack session replay tool. Using WireQuery, you can "see how a user experiences an issue through a video-like frontend recording".

Free and

https://www.wirequery.io/
https://github.com/wirequery/wirequery

bits, to programming
@bits@mastodon.online avatar

Tests are the Programmer's stone, transmuting fear into boredom.

-- Kent Beck

oliklee, to php German
@oliklee@chaos.social avatar

Die -Beispielextension zum mit und die -Live-Templates von meiner Session auf dem sind hier zu finden: https://github.com/FriendsOfTYPO3/tea/ https://github.com/oliverklee/tdd-reader/tree/main/Resources/PhpStorm

matthiasott, to accessibility
@matthiasott@mastodon.social avatar

Another reason why you should share the things you learn on your personal site: you can always look it up later yourself! 😎

From the archives:

Generating Accessibility Test Results for a Whole Website With Pa11y CI

https://matthiasott.com/notes/generating-accessibility-test-results-with-pa11y-ci

sebastian, to php
@sebastian@phpc.social avatar

It's that time again: I'm thinking about what I want to share at conferences about in general and with in particular.

Feel free to write your ideas and wishes in a reply to this toot.

aral, to accessibility
@aral@mastodon.ar.al avatar

Just learned that there’s a JavaScript-based screen reader driver for test automation called Guidepup.

https://www.guidepup.dev

Works with VoiceOver & NVDA (no Narrator or Orca/Linux support – but Orca is broken under Wayland so the latter, at least, is not surprising.)

Very cool! I look forward to the day that writing accessibility tests is as commonplace as writing unit tests.

Via @zeorin

collabora, to linux
@collabora@floss.social avatar

: Following our blog post from earlier this month, we have now submitted a patch to introduce kci-gitlab, a GitLab-CI pipeline for kernel testing! More here: http://col.la/kcigl

mikestreety, to php
@mikestreety@hachyderm.io avatar

Managed to get Gitlab running PHP unit tests.

All the examples get you to copy a bash file and install dependencies in each run (e.g. https://docs.gitlab.com/ee/ci/examples/php.html#test-php-projects-using-the-docker-executor) so I made a Docker image with them pre-built.

Took job down from 45 seconds to ~3 seconds.

The docker images are open source:

https://github.com/liquidlight/docker-php-testing

(Yes the docs need updating...)

SteveFaulkner, to webdev
@SteveFaulkner@mastodon.social avatar
lyndon, to Blog
@lyndon@fosstodon.org avatar

Wrote a short post on a silly blunder I made when using the SDK in while listing S3 objects:

https://lyndon.codes/2024/02/29/fixing-a-bug-in-s3-object-listing-in-scala/

Good opportunity to explore some good practices that could have prevented me making such a bug, like and design.

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