Bug 95455

Summary: Add text/x-gherkin mime type for feature specifications in Gherkin format
Product: shared-mime-info Reporter: Al Thomas <astavale>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugzilla
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add text/x-gherkin

Description Al Thomas 2016-05-17 13:57:23 UTC
Created attachment 123828 [details] [review]
Add text/x-gherkin

Gherkin is a domain specific language to describe software's behaviour without detailing how that behaviour is implemented: 

https://github.com/cucumber/cucumber/wiki/Gherkin

There is a reference implementation of the Gherkin 3 parser:

https://github.com/cucumber/gherkin
Comment 1 Bastien Nocera 2016-05-17 14:01:27 UTC
What can use this format apart from the reference implementation?
Comment 2 Al Thomas 2016-05-17 14:34:52 UTC
Other users are text editors, for example GtkSourceView has this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=705839

There are also other implementations, for example for Vala:
https://github.com/chebizarro/gherkin-vala
http://chrisdaley.biz/gherkin-for-vala.html
Comment 3 Bastien Nocera 2016-08-02 11:42:34 UTC
Committed with some commit message changes.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.