aaron, to random

Ohai! It me. My name's Aaron, I'm approaching 50 and am from the Kingdom of in (a country I'd prefer to be independent from the and in the ). I make and am currently a fan of , though I have used and I'm a Multiple Sclerosis enjoyer and politics non-enjoyer discovering what it means to have ADHD and associated dysfunctions. Heavily into and . Also, as you'd imagine, a bit of a . If I think of anything else I'll no doubt post about it.

Check out http://www.synaptyx.com/

I may 🤔

WebAxe, to accessibility
@WebAxe@a11y.info avatar

24px Circle Cursor Bookmarklet variants https://codepen.io/ccwilcox/details/rNqKamK (for testing WCAG 2.2 SC 2.5.8: Target Size)

devleader, to blazor
@devleader@hachyderm.io avatar

Unit testing user interfaces makes some people uncomfortable.

Read more in this post:
https://www.devleader.ca/2023/10/30/blazor-unit-testing-tutorial-how-to-master-practical-examples/

SteveFaulkner, to accessibility
@SteveFaulkner@mastodon.social avatar

📌 Brushing up on WCAG as I am doing reviews (again) as part of my new job.

Have turned to @lloydi for the good oil on SC 1.4.11 Non-text Contrast

When I Get That Low Contrast Feeling, I Need Non-Textual Healing

https://www.tpgi.com/when-i-get-that-low-contrast-feeling-i-need-non-textual-healing/

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

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

schizanon, to programming
@schizanon@mas.to avatar

"write tests first" is the "eat more vegetables" of programming

yougenius, to Twitch

Oh wise and experienced twitch music streamers, can you take a minute to look at my broadcast and see if the main camera looks delayed to you?

https://www.twitch.tv/videos/2017267947?t=00h01m09s

testing, to test1006
testing avatar

this post is written for purposes only, trying to find out whether tags in posts from kbin do federate or not

thumper, to python

I've got to that phase of the change in behaviour that it is now "run all the tests and see what broke".

There should definitely be broken tests due to the changed behaviour.

hugovk, to python
@hugovk@mastodon.social avatar

@coveragepy can now use Python 3.12's new sys.monitoring module with much lower overhead.

On 3.12, it's about the same as if you were running tests without coverage enabled!

https://nedbatchelder.com/blog/202312/coveragepy_with_sysmonitoring.html

With 7.4.2, you can set COVERAGE_CORE=sysmon globally on your CI, and it'll only use it where available (Python 3.12 and 3.13 alpha), and use the default for 3.11 and older.

For example, @pillow is 9% - 27% faster!

https://github.com/python-pillow/Pillow/pull/7820

schizanon, to webdev
@schizanon@mas.to avatar

Hot take: frontend libraries should E2E test the examples in their docs and nothing else.

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar
schizanon, to node
@schizanon@mas.to avatar

It's been a minute since I wrote a test with ; what's the cool package to use these days?

I think I've used in the past, but there's a package that is suggesting.

https://www.npmjs.com/package/jest-image-snapshot

tcannonfodder, to rails

Today, I FINALLY got fed up with the subtle bugs that come with lvh.me being such as short domain name; such as Rails' domains: :all not working by default (it's documented behavior! This sucks! https://api.rubyonrails.org/classes/ActionDispatch/Cookies.html)

So I registered local-loopback-wildcard.com. No matter what you throw, it always resolves to 127.0.0.1. So you can test against subdomains without TLD hacks. Your testing environment matches production; as it should be.

SteveFaulkner, (edited ) to accessibility
@SteveFaulkner@mastodon.social avatar

📌 TODAY
🧍 Join TPGi's @siblingpastry on September 6 at 12 PM ET for a webinar that dives into WCAG 2.2 and the range of new requirements for web accessibility testing.

https://www.tpgi.com/accessibility-testing-with-wcag-2-2/

SergKoren, to SwiftUI
@SergKoren@writing.exchange avatar

Sigh. Apple really doesn’t test on physical devices, do they? This is what the new .inspector in SwiftUI does when your app is not in full screen mode. Same on iPad Mini on full-screen. Mac looks good.

nekohayo, to GNOME
@nekohayo@mastodon.social avatar

The kind of Cthulhu submarine heisenbugs I'm helping troubleshoot across , @EvolutionGnome and in general lately: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/846#note_1825170

This bug had secretly been causing unpredictable Calendar crashes for years! It is now fixed—another thorn in our feet removed ☺️

SuitedUpDev, to Laravel
@SuitedUpDev@mastodon.online avatar

This project currently has a code coverage of 53.3%, let's see how far I can push this in a few hours!

wood, to ruby
@wood@hachyderm.io avatar

This is a cool new project from @searls and @tenderlove!

"The TLDR on Ruby's new TLDR testing framework"

https://blog.testdouble.com/posts/2023-10-03-introducing-the-tldr-ruby-test-framework/

anderseknert, (edited ) to Software
@anderseknert@hachyderm.io avatar

Some late evening coding reminded me of the value of end-to-end tests. Several cases that have been passing as unit tests… don’t, when run as similar e2e tests. These tests of course exercise a whole bunch of other subsystems, like UI and configuration, which unit tests need not bother with. Mildly embarrassing, but the sooner discovered the better.

freekmurze, to php
@freekmurze@phpc.social avatar

🔗 Juggling Databases When Testing With Laravel: Tackling the Lock Wait Timeout Error
https://www.conroyp.com/articles/juggling-databases-testing-laravel-multi-tenancy-lock-wait-timeout

mandrasch, to webdev German
@mandrasch@social.tchncs.de avatar

What's the easiest way to get some automated screenshots of a website (cross browser / different responsive sizes)? Best would be selfhosted / locally, maybe via + cypress, playwright, etc.? 📷 Thx for tipps!

youronlyone, to random
youronlyone avatar

Is “random” like its own community section, or this will appear randomly in any community?

and understanding software

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