Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9ec3c2c
Update all_the_things for PY3.
arsharma1 Feb 13, 2020
4703d2e
Update PhaseDescriptor.with_known_args for PY3
arsharma1 Feb 18, 2020
fa5fea6
validators: Don't go through the converter when the min/max is not set.
arsharma1 Mar 5, 2020
5bdc1b9
Treat string coordinates as single dimension
arsharma1 Mar 12, 2020
441d0be
openhtf/core/test_descriptor: log and print error stacktrace from out…
arsharma1 Mar 13, 2020
5b53bba
conf: Always use yaml.safe_load.
arsharma1 Mar 17, 2020
8fd70c7
Add transforms to measurements.
arsharma1 Mar 17, 2020
799b953
Initial attrs library support.
arsharma1 Mar 24, 2020
821c75f
test_state: Restructure phase context.
arsharma1 Mar 25, 2020
929ab2a
conf_test: Don't modify actual command line for test.
arsharma1 Mar 25, 2020
73cc63c
Test Executor: Log exceptions tracebacks.
arsharma1 Apr 1, 2020
4715614
util/test: Improve error logging and add test state.
arsharma1 Apr 3, 2020
009d706
diagnoses_lib: Add Measurement and Meta Interpreters
arsharma1 Apr 6, 2020
f77ff57
Add debug logging for the phase outcome.
arsharma1 Apr 7, 2020
5448ec3
exe_test: Fix flakiness when thread stopped too soon.
arsharma1 Apr 10, 2020
cfb3438
Diagnoses: Add conditional validators.
arsharma1 Apr 14, 2020
299fc44
Diagnoses: Add DiagnosesStore to TestDiagnosers.
arsharma1 Apr 14, 2020
b75cc7c
diagnoses: Add test case for a diagnosis generator that exceptions.
arsharma1 Apr 17, 2020
6833aa8
Conditional Validators: as_base_types needs to return a dict, not a set
arsharma1 Apr 17, 2020
4fbbc8d
Diagnoses: Add diagnosers to the test and phase records.
arsharma1 Apr 20, 2020
2dccbe1
Diagnoses: Make possible_results a property of Diagnosers.
arsharma1 Apr 22, 2020
9fc1dfa
diagnoses: Add always_fail to diagnosers.
arsharma1 May 29, 2020
5bdf024
diagnoses_lib: Add always_fail to json serialization.
arsharma1 Jun 1, 2020
28eba68
Diagnoses: Make Diagnosis description optional.
arsharma1 Jun 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions examples/all_the_things.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,23 @@
python all_the_things.py
"""

import time
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import os.path
import time

import openhtf as htf
from openhtf import util
from openhtf.util import units
from openhtf.plugs import user_input
from examples import example_plugs
from openhtf.output import callbacks
from openhtf.output.callbacks import console_summary
from openhtf.output.callbacks import json_factory

from examples import example_plugs
from openhtf.plugs import user_input
from openhtf.util import units
from six.moves import range
from six.moves import zip


@htf.plug(example=example_plugs.ExamplePlug)
Expand Down Expand Up @@ -92,7 +97,7 @@ def set_measurements(test):
def dimensions(test):
for dim in range(5):
test.measurements.dimensions[dim] = 1 << dim
for x, y, z in zip(range(1, 5), range(21, 25), range (101, 105)):
for x, y, z in zip(list(range(1, 5)), list(range(21, 25)), list(range(101, 105))):
test.measurements.lots_of_dims[x, y, z] = x + y + z


Expand Down
8 changes: 8 additions & 0 deletions openhtf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
from openhtf import plugs
from openhtf.core import phase_executor
from openhtf.core import test_record
from openhtf.core.diagnoses_lib import diagnose
from openhtf.core.diagnoses_lib import Diagnosis
from openhtf.core.diagnoses_lib import DiagnosisComponent
from openhtf.core.diagnoses_lib import DiagPriority
from openhtf.core.diagnoses_lib import DiagResultEnum
from openhtf.core.diagnoses_lib import PhaseDiagnoser
from openhtf.core.diagnoses_lib import TestDiagnoser

from openhtf.core.measurements import Dimension
from openhtf.core.measurements import Measurement
from openhtf.core.measurements import measures
Expand Down
Loading