A Kotlin testing and specification framework for the JVM that allows to easily define specifications in a clear, understandable, human readable way.
Questions tagged [spek]
48 questions
0
votes
1 answer
Create an Abstract Spek for initializing shared objects with Kotlin and Spek
I'm trying to write unit tests with Kotlin + Spek framework. So far looks pretty good, but I have a problem that i have to write a lot of boilerplate code, if i want to have several Spec objects for one class i'm testing.
That's my code to…

Saandji
- 428
- 4
- 9
-1
votes
1 answer
The best mp3, the lightest wav? python pytube compression conversion webm opus mp3 spek audio spectral
hi i'm learning python i discorver pytube to download on youtube the music.
my goal is to have the best audio quality. it seem that on youtube the best that you can have is 160 kbps. so i this:
from pytube import YouTube
url = input("Entre l'URL de…

Thesirix
- 1
- 2
-1
votes
1 answer
Testing with spek and sharing some base test-cases for base-classes
I'm using Spek as test framework, and have troubles when sharing some test-steps for base classes.
I have an abstract base class and two derived classes.
abstract class Base {
abstract fun send()
}
class Foo : Base() {
override fun send()…

guenhter
- 11,255
- 3
- 35
- 66