Profile

Cover photo
Micha Kops
Works at //SEIBERT/MEDIA GmbH
97 followers|99,973 views
AboutPosts

Stream

Micha Kops
owner

Tutorials  - 
 
Step-by-step Tutorial: Using SpecFlow/Cucumber with VisualStudio
http://www.c-sharpcorner.com/article/behaviour-driven-development-using-cucumber-in-visual-studio/
Here, you will learn about "behavior driven development", using Cucumber in Visual Studio.
1
Add a comment...

Micha Kops

Tips and tricks  - 
Setting up a larger application using dependency injection always requires us developers to set up our application's object graph. Programming in Go there is a library that eases this task for us, offering a reflect based injector to set up the graph in a few steps, named facebookgo-inject.
5
3
Micha Kops's profile photo
 
Hi Darko, dependency injection and inversion of control is (imho) not bound to any library or framework and I agree with you that there a bunch of heavyweight frameworks does exist out there that seems to add more complexity to this topic than necessary. I'm not up-to-date with PHP (but I'm interested - what's used there for dependency injection? PHP-DI?) but in the Java world, the equivalent might be the excessive use of Spring DI in a context where it does not offer enough benefits.

Dependency injection nevertheless is a principle that exists since the 90 and simply means (imho) that you're implementing against an abstraction and not a concrete implementation which helps to write loose coupled classes and components.

A dependency injection library now is simply a helper .. an assembly to configure which concrete implementation is used by the different components of my application. I might load a specialized implementation of a database provider in one case and depending on my setup another.

I might use my DI container to inject mocks in my integration test. I agree with you, that there are solutions that are hard to grasp, the example possibly does not demonstrate the benefits using Go good enough, finally I don't like facebook either ;)

Martin Fowler offers some good lecture about the Dependency Injection Principle and Inversion Of Control (IoC) here if you're interested: http://www.martinfowler.com/articles/injection.html
martinfowler.com - Inversion of Control Containers and the Dependency Injection pattern
Add a comment...

Micha Kops
owner

Tutorials  - 
 
Classical Behavior-Driven-Development Anti-Patterns

InfoQ article describing the classical nine BDD anti-patterns:

https://www.infoq.com/news/2016/09/bdd-anti-patterns

#bdd #programming #testing

1
Add a comment...

Micha Kops
owner

Tutorials  - 
 
Brief comparison of BDD frameworks (Cucumber, JBehave, Concordion, Easyb and JDave on Dzone.com)

https://dzone.com/articles/brief-comparison-bdd

#bdd #testing #specification
1
Add a comment...

Micha Kops

How-To/Tutorials  - 
 
New article: Object Graph Mapping by Example with Neo4j OGM and Java.

http://www.hascode.com/2016/07/object-graph-mapping-by-example-with-neo4j-ogm-and-java/

#java #graph #neo4j
When integrating a Neo4j database into a Java application a developer often needs to map nodes and edges of the graph to corresponding Java classes of the domain model. Neo4j OGM eases this work and allows us to map our domain objects to the graph database using simple annotations – similar to ...
3
Add a comment...

Communities

10 communities

Micha Kops

How-To/Tutorials  - 
 
New article: Handling System Properties, Environment Variables, STDOUT/STDERR in JUnit Tests with System Rules

http://www.hascode.com/2016/12/handling-system-in-system-out-system-properties-and-variables-in-junit-tests-with-system-rules/ #java #testing #tdd #junit #gradle #refactoring
When important data is written to STDIN/STDOUT and an application relies on specific system properties or environment variables, writing tests is getting more complicated. System Rules is a collection of JUnit rules that helps us writing Java tests for everything that deals with java.lang.
3
Add a comment...

Micha Kops

Show and tell  - 
 
New article: Writing a simple Websocket Chat in Go http://www.hascode.com/2016/10/writing-a-websocket-chat-in-go/ #go #golang #websocket
Learning the Go programming language, I wanted to implement an application that I had written with other languages and frameworks before to get a grip on this language. That's why I tried to implement a really simple websocket chat server in Go and described my approach in the following article.
13
3
Marc Rippel's profile photoMicha Kops's profile photo
2 comments
 
I totally agree with you Marc :)
Add a comment...

Micha Kops

How-To/Tutorials  - 
 
New article: Elasticsearch Integration Testing with Java.
http://www.hascode.com/2016/08/elasticsearch-integration-testing-with-java/
#java #testing# elasticsearch #lucene
When building up search engines, indexing tons of data into a schema-less, distributed data store, Elasticsearch has always been a favourite tool of mine. In addition to its core features, it also offers tools and documentation for us developers when we need to write integration tests for our ...
4
Add a comment...

Micha Kops
owner

Tutorials  - 
Read about Behavior Driven Development (BDD), Acceptance Tests, and Automation in development testing. View an example of unit testing, mocking with JSON.
1
Add a comment...
Communities
10 communities
Work
Employment
  • //SEIBERT/MEDIA GmbH
    present
Links
Collections Micha is following
Basic Information
Gender
Male