Skip to content

Jessitron

Search
  • Blog
  • Twitter
  • Patreon
  • Newsletter
  • Talks
  • Search

groovy

Gradle is easy: Groovy tests

December 13, 2011 by jessitron

Today in Unit Testing, an evil framework class hid my important return value away in a private field. Groovy to the rescue! So far, all our code and tests are in Java. It took only two lines in build.gradle, as specified in the gradle documentation, and poof. I put my little test class in src/test/groovy/package/structure, … Read moreGradle is easy: Groovy tests

Categories UncategorizedTags gradle, groovy, tdd, testing

Lifting the blankets of Gradle

November 25, 2011 by jessitron

Gradle, the build system, is a DSL on top of Groovy. The build scripts (which are really configuration scripts) are Groovy code. So why do they look so weird? Today I configured a particular obscure property of the eclipse plugin in milestone 6 of Gradle. The answer looks like: apply plugin: ‘eclipse-wtp’eclipse { wtp { … Read moreLifting the blankets of Gradle

Categories UncategorizedTags functional, gradle, groovy

popular

  • PowerShell equivalent of find
    PowerShell equivalent of find
  • Run an OpenTelemetry Collector locally in Docker
    Run an OpenTelemetry Collector locally in Docker
  • Enabling Gaps
    Enabling Gaps
  • Repeating commands in bash: per line, per word, and xargs
    Repeating commands in bash: per line, per word, and xargs
  • Dictionary Objects in JavaScript and TypeScript
    Dictionary Objects in JavaScript and TypeScript

meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Blog
  • Twitter
  • Patreon
  • Newsletter
  • Talks

Tags

abstraction agile architecture automation business change clojure complexity concurrency design DevOps Docker domain driven design Engineering functional functionalPrinciples Generativity git honeycomb Java javascript learning observability philosophy property-based testing reference ruby scala science Software Development symmathesy systems Systems Thinking teams testing thinkingFunctionally tistil typescript wit Yak Shaving

Archives

Search

© 2026 Jessitron • Powered by WPKoi
Scroll back to top