Skip to content

Instantly share code, notes, and snippets.

View ithena's full-sized avatar

Ruben ithena

  • ITHENA
  • Brussels, Belgium
View GitHub Profile
@ithena
ithena / TestDurationReport.groovy
Created December 19, 2014 07:05
Generate report (incl. historical information) on test case and suite duration starting from a dir with jUnit xml test reports
@Grab(group = 'net.sf.opencsv', module = 'opencsv', version = '2.3')
import groovy.io.*
import groovy.json.*
import au.com.bytecode.opencsv.CSVWriter
dateFormat = 'dd/MM/yyyy HH:mm'
String testReportsDir = '/Users/rverlind/Projects/Doccle/ap_awl_trunk_only/mci/mci-front-end/mci-euui/target/test-reports'
String reportOuputDir = '/Users/rverlind/Projects/Doccle/'
Copyright 2008 Ruben Verlinden, http://www.ithena.be
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
// Copyright (c) ${YEAR}, ${USER}, ITHENA BVBA @ http://www.ithena.be
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
@ithena
ithena / Logger live template
Created November 20, 2008 08:27
IntelliJ live template for creating a log4j Logger
private static final Logger log = Logger.getLogger($TYPE$.class);