aboutsummaryrefslogtreecommitdiff
path: root/docs/diff_test_doc.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/diff_test_doc.md')
-rwxr-xr-xdocs/diff_test_doc.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/docs/diff_test_doc.md b/docs/diff_test_doc.md
new file mode 100755
index 0000000..07ce8b9
--- /dev/null
+++ b/docs/diff_test_doc.md
@@ -0,0 +1,59 @@
+## diff_test
+
+<pre>
+diff_test(<a href="#diff_test-name">name</a>, <a href="#diff_test-file1">file1</a>, <a href="#diff_test-file2">file2</a>, <a href="#diff_test-kwargs">kwargs</a>)
+</pre>
+
+A test that compares two files.
+
+The test succeeds if the files' contents match.
+
+
+### Parameters
+
+<table class="params-table">
+ <colgroup>
+ <col class="col-param" />
+ <col class="col-description" />
+ </colgroup>
+ <tbody>
+ <tr id="diff_test-name">
+ <td><code>name</code></td>
+ <td>
+ required.
+ <p>
+ The name of the test rule.
+ </p>
+ </td>
+ </tr>
+ <tr id="diff_test-file1">
+ <td><code>file1</code></td>
+ <td>
+ required.
+ <p>
+ Label of the file to compare to <code>file2</code>.
+ </p>
+ </td>
+ </tr>
+ <tr id="diff_test-file2">
+ <td><code>file2</code></td>
+ <td>
+ required.
+ <p>
+ Label of the file to compare to <code>file1</code>.
+ </p>
+ </td>
+ </tr>
+ <tr id="diff_test-kwargs">
+ <td><code>kwargs</code></td>
+ <td>
+ optional.
+ <p>
+ The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>.
+ </p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+