# Crowdsourced Behavior-Driven Development: Implementing Microservices   through Microtasks

**Authors:** Emad Aghayi, Thomas D. LaToza, Paurav Surendra, Seyedmeysam, Abolghasemi

arXiv: 1903.01977 · 2020-09-03

## TL;DR

This paper presents a crowdsourced, behavior-driven development workflow for microservices, enabling non-expert crowds to implement microservices through microtasks in a structured environment.

## Contribution

It introduces Crowd Microservices, a novel BDD workflow for microtask-based microservice implementation, and evaluates its feasibility with a small crowd.

## Key findings

- Implemented a microservice with only four defects
- Completed 350 microtasks and implemented 13 functions
- Demonstrated potential for crowdsourcing in software development

## Abstract

Key to the effectiveness of crowdsourcing approaches for software engineering is workflow design, describing how complex work is organized into small, relatively independent microtasks. In this paper, we introduce a Behavior-Driven Development (BDD) workflow for accomplishing programming work through self-contained microtasks, implemented as a preconfigured environment called Crowd Microservices. In our approach, a client, acting on behalf of a software team, describes a microservice as a set of endpoints with paths, requests, and responses. A crowd then implements the endpoints, identifying individual endpoint behaviors which they test, implement, and debug, creating new functions and interacting with persistence APIs as needed. To evaluate our approach, we conducted a feasibility study in which a small crowd worked to implement a small ToDo microservice. The crowd created an implementation with only four defects, completing 350 microtasks and implementing 13 functions. We discuss the implications of these findings for incorporating crowdsourced programming contributions into traditional software projects.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.01977/full.md

## Figures

8 figures with captions in the complete paper: https://tomesphere.com/paper/1903.01977/full.md

## References

45 references — full list in the complete paper: https://tomesphere.com/paper/1903.01977/full.md

---
Source: https://tomesphere.com/paper/1903.01977