rafaeldff + test   57

Automatic Generation of Regular Expressions from Examples with Genetic Programming - Machine Learning Lab
We explore the practical feasibility of a system based on genetic programming (GP) for the automatic generation of regular expressions. The user describes the desired task by providing a set of labeled examples, in the form of text lines. The system uses these examples for driving the evolutionary search towards a regular expression suitable for the specified task. Usage of the system should require neither familiarity with GP nor with regular expressions syntax. In our GP implementation each individual represents a syntactically correct regular expression. We performed an experimental evaluation on two different extraction tasks applied to real-world datasets and obtained promising results in terms of precision and recall, even in comparison to an earlier state-of-the-art proposal.
paper  regex  RegularExpressions  geneticprogramming  genetic  generate  test  testing  bulk  fuzz  fuzztesting 
october 2012 by rafaeldff
fogus: Not enough
Nice reply by on whether unit tests are enough, why stop at static types, why not contracts or blind luck?
TypeSystem  type  types  test  tests  contracts  fogus  from twitter_favs
june 2012 by rafaeldff
ScriptCover: Javascript coverage analysis tool - Google Open Source Blog
We are pleased to announce the open source release of a Javascript coverage analysis tool called ScriptCover. It is a Chrome extension that provides line-by-line Javascript code coverage statistics for web pages in real time without user modification of the site. Results are collected when the page loads and continue to be updated as users interact with the page. These results can be viewed in real time through a reporting tool which highlights the executed lines of code for detailed analysis. ScriptCover is useful when performing manual and automated testing and in understanding and debugging complex code.
javascript  coverage  test  testing  google  project  opensource  chrome 
october 2011 by rafaeldff
Google Groups
. explaining the context in which mocks are useful - Great post in an otherwise tired thread
goos  mocking  testing  test  unittest  mock  NatPryce  from twitter
december 2010 by rafaeldff
Bridging the Communication Gap » The book
Book about acceptance tests by Gojko Adzic, recommended by Keith Braithwaite.
book  software  development  testing  engineering  agile  acceptance  AcceptanceTests  GojkoAdzic  test  tests  example  examples  modeling 
june 2009 by rafaeldff
nkallen's screw-unit at master - GitHub - Mozilla Firefox
"Mark Needleham recommended this JavaScript testing framework in a blog post."
javascript  BDD  TDD  unit  testing  test  framework  dojo  js  project  opensource 
march 2009 by rafaeldff
Exploration Through Example
"Here is a set of links to [Brian Marick's] essays on agile testing directions. "
BrianMarick  article  list  blog  catalog  articles  test  testing  Agile  software  programming 
november 2008 by rafaeldff
PDD: Properties Driven Development - A++ [Eric Torreborre's Blog]
Scalacheck is a library to assist with testing by generating input data and verifying properties of the results. In this post Eric Torreborre explains how to use it in a couple of examples.
blog  post  EricTorreborre  Scala  testing  test  property  properties  invariant  predicate  ScalaCheck  eric  torreborre  specs  PDD 
april 2008 by rafaeldff
hamcrest - Google Code
Create readable (and of course very verbose) regular expressions with the hamcrest library.
Java  library  regex  predicate  hamcrest  matching  regexp  predicates  pattern  String  text  code  test  example  coding 
april 2008 by rafaeldff
Better mocks with jMock (and specs) - A++ [Eric Torreborre's Blog]
See how Scala syntactic features improve the most famous Java embedded domain specific language - JMock. Note that Scala doesn't need evil hacks like open classes to enhance older APIs.
blog  post  article  Scala  Specs  JMock  BDD  TDD  test  testing  mock  mocking  PML  Java  library 
march 2008 by rafaeldff
Ola Bini on Java, Lisp, Ruby and AI: JtestR 0.1 released
"JtestR 0.1 is the first public release of the JtestR testing tool. JtestR integrates JRuby with several Ruby frameworks to allow painless testing of Java code, using RSpec, Test/Unit, dust and Mocha."
blog  post  announcement  project  opensource  Ruby  testing  test  JtestR  RSpec  JRuby  Java  library  tool  build  JUnit  OlaBini  AndaAbramovici 
december 2007 by rafaeldff
peripatetic axiom: Exemplary Thoughts
Keith Braithwaite on the analogy between prototypes and examples/tests and how they are closer to the way we intuitively think about the world than categorization and traditional requirements elicitation.
blog  post  KeithBraithwaite  agile  software  engineering  development  requirements  prototype  category  class  classification  categorization  taxonomy  test  testing  example  examples  TDD  cognition  CognitiveScience 
december 2007 by rafaeldff
Mock Roles, not Objects (oopsla2004.pdf)
"This paper describes the process of using Mock Objects with an extended example and reports best and worst practices gained from experience of applying the process. It also introduces jMock, a Java framework that embodies our collective experience."
paper  testing  Java  mocking  mock  TestDouble  mocks  jMock  unit  test  tutorial  example  OO  TDD  agile  programming  SteveFreeman  NatPryce  TimMackinnon  JoeWalnes 
november 2007 by rafaeldff
Can I get a witness?
Piers Cawley argues that when doing TDD worrying about maintaining a high test coverage can be actively detrimental to the project.
PiersCawley  blog  post  testing  TDD  unit  test  coverage  metric  TestCoverage  BDD 
november 2007 by rafaeldff
InformIT: Unit Testing Tools and Legacy Systems: Part 1 (video)
Ted Neward interviews Michael Feathers. What I found most interesting was the discussion about programming languages features that help (or hinder) testing.
interview  TedNeward  MichaelFeathers  video  InformIT  test  testing  language  design  software  tools  legacy 
october 2007 by rafaeldff
Michael Feathers' Blog: From Objects to Functions in OCaml
He begins with a minimal xUnit framework (a single base class, actually) in stateful/OO style then discusses how to make it more _functional_ with state threading and currying. It is a short article, maybe interesting to help introduce FP to imperative mi
blog  post  MichaelFeathers  functional  programming  OO  FP  O'Caml  ocaml  xUnit  test  testing  framework  template  TemplateMethod  pattern  currying 
october 2007 by rafaeldff
Exploration Through Example » Blog Archive » More mock test samples
Brian Marick introduces a nifty little control abstraction for writing mock based unit tests in a more natural way. Something like: during{some_method_invocation}.behold!{mock_expectations}.because{mock_responses}
BrianMarick  blog  post  test  unit  testing  mock  TestDouble  idiom  closure  Ruby  syntax  ControlAbstraction  API  FluentAPI 
october 2007 by rafaeldff
Continuous Testing Explained
"What is continuous testing? It’s turning the knob on Test Driven Development up to 11, by automatically running the tests on every save. This has profound effects on the way that TDD is applied, and is likely to make you a more efficient and productive
article  blog  post  BenRady  testing  test  Continuous  ContinuousTesting  build  tdd  technique  practice  SE  software  engineering  programming  development 
september 2007 by rafaeldff
Michael Feathers' Blog: The Deep Synergy Between Testability and Good Design
"classes with private methods that you feel the urge to test, invariably have some sort of cohesion problem: they have more than one responsibility."
blog  post  article  MichaelFeathers  test  testing  OO  design  responsability  cohesion 
september 2007 by rafaeldff
webdriver - Google Code
"WebDriver has a simple API designed to be easy to work with and can drive both real browsers, for testing javascript heavy applications, and a pure 'in memory' solution for faster testing of simpler applications."
project  opensource  APL  web  webdev  testing  client  session  driver  ThoughtWorks  html  http  javascript  automation  unit  test  java  library 
september 2007 by rafaeldff
The Little Calculist: Science and engineering
"Because debugging and testing are about observing and understanding an existing system, rather than constructing or modifying a system, the barriers we construct to enforce our engineering principles become obstacles. [they] need to violate abstraction b
blog  post  article  interesting  IDE  tool  tooling  software  development  debugging  test  testing  abstraction  code  program  understanding  SoftwareEngineering  engineering 
september 2007 by rafaeldff
Regenerative Build Tools
"is an example of something I call a regenerative build tool. There are others. Jester is a regenerative build tool which uses mutation testing to find problems. It changes your code in subtle ways and runs your tests to see whether they still pass..."
article  Artima  MichaelFeathers  software  build  engineering  SE  softwareengineering  test  testing  SCM  tool  tools 
may 2007 by rafaeldff
Interactions and Improvisational Testing
Brian Marick describes a curious interaction bug (security exploit) involving password verification algorithms and virtual memory syscalls. He uses it as a motivation for "improvisational testing".
article  BrianMarick  software  testing  test  interaction  modularity  SE  softwareengineering  engineering  SoC  security  bug  debugging  OS 
february 2007 by rafaeldff
hamcrest - Google Code
"Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules."
project  opensource  OSS  library  framework  java  jMock  test  testing  predicate  constraint  match  matching  validation  validate  DSL  unittesting 
january 2007 by rafaeldff
Rehersal - A testing framework for Scala
"Rehersal is a testing framework for Scala, intended as an easier-to-use replacement for SUnit in the standard library"
scala  library  test  unit  testing  unittest  unittesting  Rehersal  project  RaphaelCohn  RaphCohn 
november 2006 by rafaeldff
Refactoring Smalltalk
James Robertson points to a screencast showing TDD and (non-automated) refactoring on Visual Works Smalltalk. It's interesting, but I found it a bit too fast.
blog  post  screencast  smalltalk  JamesRobertson  MichaelLucas-Smith  TDD  test  unit  testing  refactoring  demo  presentation 
september 2006 by rafaeldff
Steve: Developing on the Edge - No Jorgen, Mich does know what he is talking about.
Standards whithout a normative test suite (or a perfect formal model) lead to interop problems and "plugfests" do little to mitigate the problem, specially when they are vendor-limited.
blog  post  SteveLoughran  standard  standards  standardization  process  SE  software  SoftwareEngineering  engineering  WebServices  WS-*  plugfest  interop  interoperability  test  testing  formal  formalism  specification  specifications 
july 2006 by rafaeldff
Testing object serialization
ERH's article on unit testing serialization contracts. Might come in handy some day.
serialization  serializable  java  test  unit  testing  ElliotteHarold  ElliotteRustyHarold  article  developerworks  ibm 
june 2006 by rafaeldff
Unit testing framework for python that extracts documentation from the tests.
test  unit  testing  programmer  tests  protest  project  python  library  framework  documentation  generation  generator 
june 2006 by rafaeldff
ArticleS. Michael Feathers Refactoring Needs More Than Tests
"(...) hidden precondition: you can only refactor when you are working on one code base."
agile  development  refactoring  test  tests  code  codebase  source  SCC  configuration  article  blog  post  MichaelFeathers  project  management 
may 2006 by rafaeldff

related tags

abbot  abstraction  acceptance  AcceptanceTests  agile  AJAX  Ambler  AndaAbramovici  annotations  announcement  Ant  apache  API  APL  article  articles  artima  automation  bcc  BDD  benchmark  benchmarking  BenRady  blog  book  BrianMarick  browser  bug  build  bulk  capacity  casestudy  catalog  categorization  category  chrome  class  classification  client  closure  code  codebase  CodeCoverage  coding  cognition  CognitiveScience  cohesion  computerscience  computing  configuration  constraint  container  Continuous  ContinuousIntegration  ContinuousTesting  contracts  ControlAbstraction  corba  coverage  cs  currying  danielquirino  data  database  DataMapper  date  DB  db-unit  dbunit  debugging  demo  design  deterministic  developerworks  development  di  distributed  docker  documentation  dojo  driver  DSL  ElisabethHendrickson  ElliotteHarold  ElliotteRustyHarold  engineering  eric  EricTorreborre  evaluation  example  examples  extension  firefox  FloydMarinescu  FluentAPI  fogus  formal  formalism  FP  framework  FranciscoReverbel  free  functional  fuzz  fuzztesting  generate  generation  generator  genetic  geneticprogramming  GojkoAdzic  google  goos  gui  guj  hamcrest  hibernate  howto  hp  html  http  httperf  ibm  ide  idiom  InformIT  integration  interaction  interesting  interop  interoperability  interview  intj  introduction  intuition  invariant  IO  ioc  j2ee  JamesRobertson  java  java.net  javascript  jmeter  JMock  jMock  JoeWalnes  JQuery  JRuby  js  JtestR  judgment  junit  KeithBraithwaite  language  legacy  library  list  load  LoadTesting  management  mapping  MarkNeedham  MarkNottingham  MartinFowler  match  matching  MatthewFoemmel  measure  measurement  methodology  metric  michaelfeathers  MichaelLucas-Smith  microsoft  mock  mocking  MockObjects  mocks  modeling  modularity  NachiappanNagappan  NatPryce  noisy  NoisyNeighbours  O'Caml  O/R  object  ocaml  OlaBini  online  oo  OOP  opensource  optimization  OR  ORM  OS  OSS  paper  pattern  patterns  PDD  perception  performance  persistence  PeterLin  PiersCawley  plugfest  plugin  PML  portuguese  post  practice  predicate  predicates  presentation  process  program  programmer  programming  project  properties  property  protest  prototype  psychology  pt  pt-br  python  QA  QTP  QualityAssurance  questions  QuickTest  QuickTestPro  RalfStuckert  RaphaelCohn  RaphCohn  refactoring  regex  regexp  RegularExpressions  Rehersal  repeatable  requirements  responsability  reverbel  rspec  ruby  sample  scala  scalability  ScalaCheck  SCC  scct  SCM  ScottAmbler  screencast  SE  security  selenium  serializable  serialization  server  session  smalltalk  SoC  software  softwareengineering  source  specification  specifications  specs  Spring  standard  standardization  standards  SteveFreeman  SteveLoughran  stresstest  stresstesting  String  swing  syntax  system  systems  t  taxonomy  tdd  technique  TedNeward  template  TemplateMethod  test  TestCoverage  TestDouble  testing  tests  text  theserverside  ThirumaleshBhat  ThoughtWorks  time  TimMackinnon  tip  tips  tomcat  tool  tooling  tools  torreborre  tss  tutorial  type  types  TypeSystem  understanding  uni  unit  unittest  unittesting  validate  validation  video  waitForCondition  web  webdev  WebServices  WS-*  xp  xUnit 

Copy this bookmark: