How to get parent node in Capybara?

I really found jamuraa’s answer helpful, but going for full xpath gave me a nightmare of a string in my case, so I happily made use of the ability to concatenate find’s in Capybara, allowing me to mix css and xpath selection. Your example would then look like this: find(‘#some_button’).find(:xpath,”.//..”).fill_in “Name:”, :with => name Capybara … Read more

What are the differences between BDD frameworks for Java? [closed]

I’ve just finished comparing three BDD frameworks for Java. Obviously my findings have a fairly short use-by date. Concordion Very flexible Very pretty report output Nice plugin framework Poorly documented. I had to read the source to figure it out (luckily its extremely good quality). Fixtures seemed likely to end up tightly coupled to the … Read more

TDD/BDD screencast/video resources [closed]

Brett Schuchert from Object Mentor just posted a series of videos on TDD The videos are meant to be watched in order. GettingStarted Adding Basic Operators Removing Duplication Extracting to Strategy Removing Duplication via Refactoring or Removing Duplication via Tdd using Mockito Introducing an Abstract Factory Adding a Sum operator Adding Prime Factors Operator Composing … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)