ascherbaum, to python
@ascherbaum@mastodon.social avatar

I have a script which is modifying files, and output some text. All very generic. This will not be a standalone Python class.

What is a good way to have tests for this script?

Seems like the Python test frameworks all only test single classes, not more complex examples. And while I might be able to test functions, I might miss more details when not testing the overall functionality.

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 #Java #Testing #AutomatedSoftwareTesting

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 #Java #Testing #AutomatedSoftwareTesting

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

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 #Java #Testing #AutomatedSoftwareTesting

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

mikestreety,
@mikestreety@hachyderm.io avatar

@thiagocsf oh thanks. I'll have a dig and see if they have one that does the job

mikestreety,
@mikestreety@hachyderm.io avatar

Off the back of this, I was actually made aware of specific docker images for doing this:

https://hub.docker.com/search?q=typo3%2Fcore-testing-php

lyndon, to Blog

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.

SteveFaulkner, to webdev
@SteveFaulkner@mastodon.social avatar
SteveFaulkner,
@SteveFaulkner@mastodon.social avatar

@cwilcox808 yeah will update when I get a chance PRs welcome 🤗

SteveFaulkner,
@SteveFaulkner@mastodon.social avatar
lilyf, (edited ) to random
@lilyf@fosstodon.org avatar

There's a new Kolo blog post by @wilhelmklopp about how Kolo can automatically generate Django integration tests.

https://blog.kolo.app/tests-no-joy.html

leanpub, to Software
@leanpub@mastodon.social avatar

Level Up Your Debugging by Kevin Hicks is free with a Leanpub Reader membership! Or you can buy it for $9.99! http://leanpub.com/level-up-your-debugging

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 #Java #Testing #AutomatedSoftwareTesting

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/2ahN2LwH

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 #Java #Testing #AutomatedSoftwareTesting

leanpub, to rubyonrails
@leanpub@mastodon.social avatar

GraphQL for Rails Developers: Build a GraphQL API for Your Rails App https://leanpub.com/graphql-rails by Ryan Bigg is the featured book on the Leanpub homepage! https://leanpub.com

itnewsbot, to ReverseEngineering

Mapping the Nintendo Switch PCB - As electronics have advanced, they’ve not only gotten more powerful but smaller as... - https://hackaday.com/2024/02/20/mapping-the-nintendo-switch-pcb/

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