Solr on FitNesseLearning from Berlin Buzzwords13by @dmitrykan
What is FitNesse● The fully integrated standalone wiki and acceptancetesting framework● Collaboration tool with very low e...
Who speaks the Solr language?
Main components● FitNesse Wiki● FitServer● Fit: Framework for Integrated Tests● Slim
(almost) Natural Language
Fixture code
Architecture
Solr on FitNesse: health checkpublic class SolrShardsFixture extends ColumnFixture {private String shardURL;private String...
Solr health check
Summary● Very easy to start● Tests written in (almost) natural language: fornon-technical team members● Good to combine xU...
Links● FitNesse: www.fitnesse.org● Apache Solr: www.lucene.apache.org/solr● Solr on FitNesse: http://bit.ly/12AxvME● Some ...
Solr onfitnesse learningfromberlinbuzzwords
Solr onfitnesse learningfromberlinbuzzwords
Upcoming SlideShare
Loading in …5
×

Solr onfitnesse learningfromberlinbuzzwords

767 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
767
On SlideShare
0
From Embeds
0
Number of Embeds
273
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Solr onfitnesse learningfromberlinbuzzwords

  1. 1. Solr on FitNesseLearning from Berlin Buzzwords13by @dmitrykan
  2. 2. What is FitNesse● The fully integrated standalone wiki and acceptancetesting framework● Collaboration tool with very low entry● Test tool: wiki pages are run as tests● Open source● Has a number of plugins for: security, dependencymanagement, ruby/php/python/c/c++/objectivec/.net/coffee script ...
  3. 3. Who speaks the Solr language?
  4. 4. Main components● FitNesse Wiki● FitServer● Fit: Framework for Integrated Tests● Slim
  5. 5. (almost) Natural Language
  6. 6. Fixture code
  7. 7. Architecture
  8. 8. Solr on FitNesse: health checkpublic class SolrShardsFixture extends ColumnFixture {private String shardURL;private String shardName;public boolean isShardUp() {if (shardURL == null || shardURL.isEmpty())throw new RuntimeException("shardURL url is empty");try {SolrServer serverTopic = new CommonsHttpSolrServer(shardURL);SolrPingResponse solrPingResponse = serverTopic.ping();if (solrPingResponse.getStatus() == 0)return true;} catch (MalformedURLException e) {throw new RuntimeException("Failed to create SolrServer instance: " + e.getMessage());} catch (IOException e) {throw new RuntimeException("Failed to ping the SolrServer instance: " + e.getMessage());} catch (SolrServerException e) {throw new RuntimeException(e.getMessage());}return false;}public void setShardURL(String shardURL) {this.shardURL = shardURL;}public void setShardName(String shardName) {this.shardName = shardName;}}
  9. 9. Solr health check
  10. 10. Summary● Very easy to start● Tests written in (almost) natural language: fornon-technical team members● Good to combine xUnit with FitNesse● Applicable for Big Data projects● Drives project towards TDD
  11. 11. Links● FitNesse: www.fitnesse.org● Apache Solr: www.lucene.apache.org/solr● Solr on FitNesse: http://bit.ly/12AxvME● Some slides from: http://slidesha.re/18NWcc7● Berlin Buzzwords: http://berlinbuzzwords.de

×