Scribble Home

Overview

Scribble is a test framework on top of JUnit and Mockito that provides setup of common more complex scenarios in an easy-to-use way.

The design goal when developing scribble was to provide a verbose API to make simple one-line setups of complex services required in your Testing. Typically, setting up a Java Content Repository or an LDAP Service requires you to write a considerable amount of code just for the setup. Scribble allows you to make that in one line

Space contributors

Recent space activity

Release Scribble 0.3.2
Happy to announce a new release of Scribble. We have an addition to the network module, introducing a socket-based UDP received for testing network communication locally, and a set of PDF Matchers have been added, allowing to verify results of PDF operations. Finally, some minor issues have been fixed and the CI/CD build pipeline refactored which now automatically publishes project documentation to the wiki. Bug [SCRIB-62 https://inkstand.atlassian.…
Release Scribble 0.3.1
We start the new year with a minor improvement release to Scribble. The release 0.3.1 support CDI Qualifiers to support injection into qualfied injection targets in order to specify injection points with qualifiers in unit tests. Find examples in the CDI - Usage documentation. Story [SCRIB-54 https://inkstand.atlassian.net/browse/SCRIB-54] - Support Qualifiers for CDI Injection
Release Scribble 0.3.0
We're proud to announce a new version of the the Scribble testing library! The biggest changes are the new modularization and documentation. For every functional aspect there is now a separate module so that not a whole load of unused dependencies have to be included in your project if you only require just a single functional aspect. In addition to this, the entire project documentation is now kept in the source and be generated using maven's site support.…
Release Scribble 0.2.0
We're proud to announce a new version of the the Scribble testing library! The new version has support for an embedded ldap server which allows to write tests against an ldap server without having to rely on existing infrastructure. Further, the JCR support has been improved, now it's possible to pre-initialize a JCR repository with content from a descriptor file and to create a security-enabled in-memory repository.…
Release Scribble 0.2.0-alpha3
A new candidate for version 0.2.0 has been released, fixing a bug that prevents using the ResourceAvailabilityMatcher in assertThat statements for checking availability of a URL. Bug [SCRIB-42 https://inkstand.atlassian.net/browse/SCRIB-42] - ResourceAvailabilityMatcher is not compatible with URL
Release Scribble 0.2.0-alpha2
A new candidate for version 0.2.0 has been released, fixing a bug that prevents using the DirectoryServer rule when created with a Directory using Scribble builders. Bug [SCRIB-41 https://inkstand.atlassian.net/browse/SCRIB-41] - LDAP Rules are not properly applied Story [SCRIB-38 https://inkstand.atlassian.net/browse/SCRIB-38] - Supply package-info.java
Release Scribble 0.2.0-alpha1
A first alpha version of Scribble 0.2.0 has been released yesterday. Following activities will comprise enhancing the documentation in the wiki, killing some more issues from code analysis and incorporating this release into the test suite of inkstand, hopefully finding some bugs or deficiencies that can easily be fixed. Known Limitations The ContentLoader rule has some limitations regarding the prepared content No JSON support, only XML content definitions are supported.…
Release Scribble 0.1.3
For the release work on Inkstand 0.2 some issues in the injection support had to be fixed and released Bug [SCRIB-26 https://inkstand.atlassian.net/browse/SCRIB-26] - Check for null injection target [SCRIB-27 https://inkstand.atlassian.net/browse/SCRIB-27] - TcpPort has no proper toString() representation [SCRIB-30 https://inkstand.atlassian.net/browse/SCRIB-30] - Field candidates are not collected for null-values Story [SCRIB-29 https://inkstand.atlassian.…
Release Scribble 0.1.2
Release 0.1.2 went public some minutes ago, containing some fixes and smaller improvements to the JCR support Bug [SCRIB-16 https://inkstand.atlassian.net/browse/SCRIB-16] - @Inject Annotations is not considered [SCRIB-19 https://inkstand.atlassian.net/browse/SCRIB-19] - InjectableHolders are not recognized properly when injecting [SCRIB-23 https://inkstand.atlassian.net/browse/SCRIB-23] - Sonar Issue: The use of XPath.evaluate() is vulnerable to XPath injection [SCRIB-24 https://inkstand.…
Release Scribble 0.1.1
I released version 0.1.1 containing some small fixes Release Notes - Scribble - Version 0.1.1 Bug [SCRIB-7 https://inkstand.atlassian.net/browse/SCRIB-7] - ConfigProperty injection ignores missing @Inject [SCRIB-9 https://inkstand.atlassian.net/browse/SCRIB-9] - Test for JNDIContentRepository is missing [SCRIB-15 https://inkstand.atlassian.net/browse/SCRIB-15] - injection of primitive types does not work