The {\ttfamily jasmine-\/spec-\/reporter} can be used to enhance your \href{https://github.com/angular/protractor}{\texttt{ Protractor}} tests execution report.\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13904}{}\doxysection{Protractor configuration}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13904}
In your Protractor configuration file\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{let SpecReporter = require('jasmine-\/spec-\/reporter').SpecReporter;}
\DoxyCodeLine{}
\DoxyCodeLine{exports.config = \{}
\DoxyCodeLine{   // your config here ...}
\DoxyCodeLine{}
\DoxyCodeLine{  onPrepare: function () \{}
\DoxyCodeLine{    jasmine.getEnv().addReporter(new SpecReporter(\{}
\DoxyCodeLine{      spec: \{}
\DoxyCodeLine{        displayStacktrace: true}
\DoxyCodeLine{      \}}
\DoxyCodeLine{    \}));}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13905}{}\doxysection{Remove protractor dot reporter}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13905}
In your protractor configuration file, add the print function in the {\ttfamily jasmine\+Node\+Opts} section\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{jasmineNodeOpts: \{}
\DoxyCodeLine{   ...}
\DoxyCodeLine{   print: function() \{\}}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13906}{}\doxysection{Example}\label{md_sfcode_node_modules_jasmine_spec_reporter_examples_protractor_README_autotoc_md13906}
You can find an example in this directory\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{npm install}
\DoxyCodeLine{npm test }

\end{DoxyCode}
 