diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,6 +11,7 @@ module.exports = {
   init() {
     this._super.init && this._super.init.apply(this, arguments);
 
+    this.overrideTestCommandFilter();
     this.setTestGenerator();
   },
 
@@ -98,6 +99,36 @@ module.exports = {
     });
   },
 
+  overrideTestCommandFilter() {
+    let TestCommand = this.project.require('ember-cli/lib/commands/test');
+
+    TestCommand.prototype.buildTestPageQueryString = function(options) {
+      let params = [];
+
+      if (options.filter) {
+        params.push(`grep=${options.filter}`);
+
+        if (options.invert) {
+          params.push('invert=1');
+        }
+      }
+
+      if (options.query) {
+        params.push(options.query);
+      }
+
+      return params.join('&');
+    };
+
+    TestCommand.prototype.availableOptions.push({
+      name: 'invert',
+      type: Boolean,
+      default: false,
+      description: 'Invert the filter specified by the --filter argument',
+      aliases: ['i']
+    });
+  },
+
   setTestGenerator() {
     this.project.generateTestFile = function(moduleName, tests) {
       var output = `describe('${moduleName}', function() {\n`;
Add missing `overrideTestCommandFilter()` method

This was missed when we migrated the functionality from `ember-cli-mocha` into `ember-mocha`